[support] Time Zones

Ms. Nancy Wichmann nan_wich at bellsouth.net
Thu Feb 28 15:55:08 UTC 2013


Being blond, confusion is my normal state, but time zones are threatening to ruin what's left of my mental health.

In D7, we set the site's default time zone (America/New_York for me). Since it then displays the correct time, I have to assume that the server is running on GMT. Is that correct?

If I read the PHP manual correctly, the strtotime() function will create a GMT time. Is that correct? 


So if I ask the user to tell me their timezone when they enter a time, I can stick that on the end of the string that I pass to strtotime() and get a GMT timestamp?

 
Nancy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130228/378cad9c/attachment.html 


More information about the support mailing list