note 12260 deleted from function.date by jimw

From: Date: Fri, 02 Nov 2001 00:55:34 +0000
Subject: note 12260 deleted from function.date by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20077@lists.php.net to get a copy of this message
ad php4 and timezone (4.0.4pl1 UNIX) this is an amendment to the posting of shirro@align.com.au: a dummy call to strftime is sufficient to make date etc. work with putenv("TZ=..."), like putenv("TZ=GMT"); # wrong print date("Y-m-d H:i:s") . "\n"; strftime("dummy"); # right print date("Y-m-d H:i:s") . "\n"; I will also report this as a php4 bug. -gerhard

« previous php.notes (#20077) next »