RE: [PHP] Dates and different time zones
| From: | Jay Blanchard | Date: | Tue, 10 Apr 2007 13:23:38 +0000 |
| Subject: | RE: [PHP] Dates and different time zones | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252417@lists.php.net to get a copy of this message | ||
[snip]
So a wonder who to handle different time zones? Have any of your
experience
of this?
[/snip]
The server lives in one time zone and therefore cannot handle multiples
unless there is some new widget available for this. There are a couple
of methods available;
1. Use JavaScript to capture 'local' (client-side) time to a PHP
variable.
2. Use time zone offsets for ranges of IP addresses known to be in each
time zone.