note 79406 added to function.strtotime
| From: | HayleyWatson at osu1 dot php dot net | Date: | Sun, 25 Nov 2007 21:38:43 +0000 |
| Subject: | note 79406 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132563@lists.php.net to get a copy of this message | ||
As for the cases which Beat notes as "CORRECT": 23:59:59 30 September is less than an hour
earlier than 00:00:00 1 October - and by happenstance Central European Time, the time zone that Beat
is using locally, is one hour ahead of UTC.
So 23:59:59 30 September UTC corresponds to 00:59:59 1 October CET, and by ignoring the time and
timezone information you just happen to get the "correct" result.
----
Server IP: 202.89.58.1
Probable Submitter: 60.234.168.92
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- https://master.php.net/note/edit/79406
Del: integrated -- https://master.php.net/note/delete/79406/integrated
Del: useless -- https://master.php.net/note/delete/79406/useless
Del: bad code -- https://master.php.net/note/delete/79406/bad+code
Del: spam -- https://master.php.net/note/delete/79406/spam
Del: non-english -- https://master.php.net/note/delete/79406/non-english
Del: in docs -- https://master.php.net/note/delete/79406/in+docs
Del: other reasons-- https://master.php.net/note/delete/79406
Reject -- https://master.php.net/note/reject/79406
Search -- https://master.php.net/manage/user-notes.php