date() and timezone
| From: | Fernando M. M. | Date: | Thu, 14 Dec 2006 18:36:49 +0000 |
| Subject: | date() and timezone | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-245834@lists.php.net to get a copy of this message | ||
Hello,
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?
I
appreciate any help.
Thanks,
Fernando.
--
Blog: http://blog.forumdebian.com.br/fernando
Contato:
http://www.forumdebian.com.br/fernando/contato.php