Timezone Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I first noticed this problem a few weeks back. When I log into
squirrelmail, the time displayed it eight hours ahead of the actual
time. I restarted my apache server and the problem was fixed. A few hours
later, the time is off again. This repeats, add infinitum.

Here's what's weird. Window's always reports the correct time, Window's
always reports the correct time zone too (-0700 US/Pacific). I run
date("O") and right after I restart apache, it will report -0700.
However, when I check back later it will report +0100. I ran
getenv('TZ') and that always reports US/Pacific. Any thoughts?

I'm running Windows Server 2003, Apache 2.0.53, and PHP 4.3.11.

-Andrew Ferguson

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux