title: Execute a particular function every time the date changes in the user's local time
body: <p>I am saving a counter number in user storage.
  I want to provide some content to the user which changes daily using this counter. 
  So every time the counter increases by 1 the content will change. 
  The problem is the timezone difference. 
  Is there anyway to run a function, daily which will increase this counter by 1. I could use setInterval() which is a part of the NodeJs library but that won't be an accurate "daily" update for all users.</p>