Re: date() and wrong timezone (or time)

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

 



On Feb 6, 2008 6:13 AM, Martin Marques <martin@xxxxxxxxxxxxxxxxxxx> wrote:> I got an update from tzdata on a Debian server due to a daylight saving> change here in Argentina.>> The problem is that, even when the system sees the correct time, php> keeps giving me the *old* hour.>> $ date> mié feb  6 09:03:57 ARST 2008> $ echo "<?php echo date('H:i') . \"\n\"; ?>"|php5> 08:04>> What can my problem be?>>> BTW, I did a useless reboot (I knew it wouldn't help at all, but I did> it anyway).>> --> PHP General Mailing List (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php>>
There was a discussion on internals a while ago about this problemthat explains why this is:
http://www.mail-archive.com/internals@xxxxxxxxxxxxx/msg32935.html

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux