Time Zone...

From: Ima Lostsoul (nospam_at_ugabuggaboo.org)
Date: 10/31/04


Date: Sun, 31 Oct 2004 02:26:37 GMT

My server is set to GMT which I cannot change. Using PHP I need to be
able to pull the current date for a given time zone and display it on
the page when a user loads it. The time zone does not need to be
specific to the user. It can be set to (in this case) Eastern time. I
would like it to be able to take care of DST on its own as well. Can
someone tell me how to do this please?



Relevant Pages

  • Re: [PHP] Finding users timezone
    ... > How does php decide what timezone a user is in? ... Or, more accurately, what time zone your server was configured to tell ... no matter where it really lives in the physical world. ... > to confirm/ deny the correctness of the php date function. ...
    (php.general)
  • RE: [PHP] Time
    ... If you change the time zone on your Linux server ... running Apache and PHP, you need to Stop and then Start Apache else the PHP ...
    (php.general)
  • Date time stamp help
    ... I'm moving from ASP to PHP and I must say that on using this for only a day ... When I display this date later it is 2 hours being my time. ... that the servers are somewhere in the mid west - I am in the EST time zone. ...
    (alt.php)
  • Date time stamp help
    ... I'm moving from ASP to PHP and I must say that on using this for only a day ... When I display this date later it is 2 hours being my time. ... that the servers are somewhere in the mid west - I am in the EST time zone. ...
    (comp.lang.php)
  • Re: Time Zone...
    ... > able to pull the current date for a given time zone and display it on ... The time zone does not need to be ... It was meant to alow the user to change the timezone in which he wants ...
    (comp.lang.php)