Page 1 of 1

Difference between server time and user's time

Posted: Mon Nov 20, 2006 2:52 am
by kabuki1985
I am creating a calendaring application and an alert feature using email ( maybe SMS later ). Lets say the user expects an alert at a time on their system, but their time is different than the server time maybe by only a few minutes, how can i synchronize the time of the saved event by the user and the time the server is supposed to send out a reminder?

Posted: Mon Nov 20, 2006 9:10 am
by volka
You could display the server time and let the user input the time (not just "in 5 minutes", but "at 8:35").

Posted: Mon Nov 20, 2006 9:41 am
by onion2k
Use some javascript to update a hidden field with the time on the users local system.