note 47945 added to function.date
| From: | steve dot chamberlin at comcast dot net | Date: | Mon, 06 Dec 2004 18:34:28 +0000 |
| Subject: | note 47945 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81452@lists.php.net to get a copy of this message | ||
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?
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47945
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47945&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47945&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47945&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47945&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47945&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47945&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47945&report=yes
Search -- http://master.php.net/manage/user-notes.php