note 47945 rejected from function.date by sean
| From: | sean@php.net | Date: | Mon, 06 Dec 2004 18:47:02 +0000 |
| Subject: | note 47945 rejected from function.date by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81454@lists.php.net to get a copy of this message | ||
Note Submitter: steve dot chamberlin at comcast dot net
----
The docs are unclear regarding the "I" format string. They say date("I",
$timestamp) returns whether or not $timestamp is in daylight savings time: 1 if daylight savings
time, 0 otherwise.
Trouble is, the docs don't explain how date() decides if a given timestamp is in daylight
savings time. DST starts and ends on different dates in different political regions of the world.
Does it use the DST rules for the United States? Does it matter whether or not the server is itself
located in a region that observes daylight savings time?