Re: date() and timezone

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

 



Fernando M. M. wrote:
I have a lot of php scripts that uses date() for some important
operations. Yesterday those scripts were moved to another server which is on an
different timezone. I haven't predicted this so my scripts aren't working anymore. The
servers timezone is GMT -4 and mine is GMT -2. Is there a way to change the default
timezone for all scripts within a folder? And what about changing just one?

http://php.net/date_default_timezone_set

-Stut

--
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