|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-02 05:08 UTC] sterling at cvs dot php dot net
[2000-07-11 11:29 UTC] peter dot kuppelwieser at limu dot com
[2001-01-09 04:06 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 20 04:00:01 2025 UTC |
following script switches Timezones in PHP3 it does not work in PHP4 Is there is an alternative not documented mechanism? #-------------------- putenv("TZ=Europe/Rome"); echo date("Y/m/d H:i:s")." ".getenv("TZ")."<br>"; putenv("TZ=Asia/Seoul"); echo date("Y/m/d H:i:s")." ".getenv("TZ")."<br>"; #-------------------- #PHP CONFIG System: Linux pjotr 2.2.13 #2 Wed Mar 15 10:13:54 CET 2000 i686 unknown Build Date: Mar 29 2000 Configure command: './configure' '--disable-debug' '--enable-track-vars' '--enable-trans-sid' '--with-apache=../apache_1.3.12' '--with-gd=/usr' '--with-mysql' php.ini path: /usr/local/lib ZEND_DEBUG=0 SAPI=Apache ZTS is undefined #/PHP CONFIG Bye peter.