note 64203 added to function.date
| From: | jordanwoodley at gmail dot com | Date: | Sun, 09 Apr 2006 19:09:44 +0000 |
| Subject: | note 64203 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107664@lists.php.net to get a copy of this message | ||
I have found that using
putenv("TZ=Europe/London");
to change timezones is more effective that the one mentioned especially for those who have problems
with GMT and BST changes or infact any kind of daylight saving changes. To adapt this code you
simply replace the "Europe/London" to any of the Continents/Cities mentioned in the
following txt:
http://www.theprojects.org/dev/zone.txt
Hope this is helpful!
----
Server IP: 84.18.202.180
Probable Submitter: 84.68.194.94
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/note/edit/64203
Del: integrated -- http://master.php.net/note/delete/64203/integrated
Del: useless -- http://master.php.net/note/delete/64203/useless
Del: bad code -- http://master.php.net/note/delete/64203/bad+code
Del: spam -- http://master.php.net/note/delete/64203/spam
Del: non-english -- http://master.php.net/note/delete/64203/non-english
Del: in docs -- http://master.php.net/note/delete/64203/in+docs
Del: other reasons-- http://master.php.net/note/delete/64203
Reject -- http://master.php.net/note/reject/64203
Search -- http://master.php.net/manage/user-notes.php