Take the 2-minute tour ×  Turns out this seems to be a complex
subject, please tell me if my approach is too simple.  Basically
what i'm trying to do is send an email reminder to a list of
users (only when they have a reminder coming up, but that is
besides the point) at 7 am every morning. Of course 7 am is at a
different time based on the server location for everyone all
over the world.  The plan is to collect to GMT offset hour via
javascript from the user when they register:  var today = new
Date();   var offset = -(today.getTimezoneOffset()/60);  Simple
enough, I now know the offset hour and store that in a database
along with the rest of the users data. Now server side I have a
TimerTask set up that runs every hour. I collect the system hour
(say its 5 am), see how far away from my target time that is (in
this case 2 (7-5)), get the system offset hour (in this case its
-5), then pull all users from the database that have a GMT
offset hour of -3 (-5 + 2), then do the email sending etc. At
this point im a