ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-general
php-general
Re: [PHP] date() and timezone
by Stut other posts by this author
Dec 14 2006 10:49AM messages near this date
[PHP] date() and timezone | Re: [PHP] date() and timezone
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
Thread:
Fernando M. M.
Stut
Jochem Maas
Fernando M. M.

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved