Re: timezones & date() breakage
| From: | Lester Caine | Date: | Tue, 27 Sep 2005 12:25:39 +0000 |
| Subject: | Re: timezones & date() breakage | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19188@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
http://no2.php.net/manual/en/function.date-default-timezone-get.php says: This functions returns the default timezone, using the following "guess" order: * The timezone set using the date_default_timezone_set() function (if any) * The TZ environment variable (if non empty) * The date.timezone ini option (if set) * "magical" guess (if the operating system supports it) * If none of the above options succeeds, return UTCI'm coming in late here - but being in the middle of trying to configure a system to provide calendars across time and daylight saving zones, I've been deep in this! I have no problem with the time AT THE SERVER! What I need to know is what daylight saving zone the client is in so I can build the correct calendar for March/April or October/November. *ALL* the data on the server is stored UTC so I could not care less which zone it is in :) The ONLY solution I currently have is to get the client to set their time/daylight zone in their profile on the server ? -- Lester Caine ----------------------------- L.S.Caine Electronic Services Treasurer - Firebird Foundation Inc.