Dave G wrote:

GoLive Gurus,

GoLive? This is PHP :P


        I've been hunting around the net and PHP online manual for a
while, and I haven't found a clear description of how to make it so my
PHP scripts return values for times and dates that are consistent with
my time zone.

http://www.php.net/putenv


putenv("TZ=EST"); etc. (check the user notes).

locale iirc is for controlling the display of time, not the time zone.


-- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to