note 11811 added to function.putenv.php
| From: | verkoop at it-design dot com | Date: | Thu, 08 Mar 2001 08:19:14 +0000 |
| Subject: | note 11811 added to function.putenv.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12027@lists.php.net to get a copy of this message | ||
for those who have problems with the putenv ('TZ=Europe/Amsterdam').
I found that there is a solution/work-a-round. It will work, but only if you add
mktime(0,0,0,1,1,1970) on the next line. So:
putenv ('TZ=Europe/Amsterdam');
mktime(0,0,0,1,1,1970)
echo date("H:i:s");
http://www.php.net/manual/en/function.putenv.php