note 8548 deleted from date by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Sun, 17 Sep 2000 23:50:48 +0000 |
| Subject: | note 8548 deleted from date by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5151@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