note 8548 added to date

From: Date: Sun, 17 Sep 2000 00:23:05 +0000
Subject: note 8548 added to date
Groups: php.notes 
Request: Send a blank email to php-notes+get-5116@lists.php.net to get a copy of this message
changing timezones: the method given in the comment above: putenv("TZ=Europe/Rome"); stopped working when i switched to php4. it would be really handy to have some fast method inside php4 to utilise the built-in standard C timezone handling, which is generally excellent, to deal with the case where a single server is showing web sites for multiple timezones. currently i am faced with either: * adding in a fixed time offset for each site OR * hacking something in perl or C to update a configuration script with the correct offset, using the standard C library somehow, and then run that once a day so it picks up daylight savings changes across the world http://www.php.net/manual/function.date.php

« previous php.notes (#5116) next »