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

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

 



Nathan Nobbe escribió:
On Feb 6, 2008 12:13 PM, Martin Marques <martin@xxxxxxxxxxxxxxxxxxx> wrote:

see what you have as the value for the date.timezone ini setting.
I've already checked that, and it's not set.


then you should probly set it ;)

It has the right TZ set. I checked it with date_default_timezone_get().
I changed the system wide TZ to a zone that has the -2 TZ and it works
now, but it's a lousy solution


Anyway, I found out that PHP uses an internal tz database (very bad
IMHO) and it might be out of date.


what is a better alternative in your opinion; i dont know much about any
alternatives..

How about use the tzdata that is already installed is the system?

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


[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