note 75227 deleted from function.date-timezone-set by nlopess
| From: | nlopess@php.net | Date: | Sun, 20 May 2007 13:53:17 +0000 |
| Subject: | note 75227 deleted from function.date-timezone-set by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126753@lists.php.net to get a copy of this message | ||
Note Submitter: mwnciau at hotmail dot com
----
To set the timezone in other versions of PHP
<?
echo "Original Time: ". date("h:i:s")."\n";
putenv("TZ=US/Eastern");
echo "New Time: ". date("h:i:s")."\n";
?>
list of timezones:
http://www.theprojects.org/dev/zone.txt