note 70279 added to function.strtotime
| From: | phs at gmx dot net | Date: | Tue, 10 Oct 2006 00:29:45 +0000 |
| Subject: | note 70279 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118331@lists.php.net to get a copy of this message | ||
Wrong in PHP...?
echo strftime('%A, %d. %B %Y', strtotime("next
Monday",strtotime("2006-10-28")));
returns:
Sunday, 29. October 2006
But it should return Monday, 30. October 2006. Why?
I tried in 4.4.1
----
Server IP: 217.13.201.10
Probable Submitter: 134.60.103.106
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- https://master.php.net/note/edit/70279
Del: integrated -- https://master.php.net/note/delete/70279/integrated
Del: useless -- https://master.php.net/note/delete/70279/useless
Del: bad code -- https://master.php.net/note/delete/70279/bad+code
Del: spam -- https://master.php.net/note/delete/70279/spam
Del: non-english -- https://master.php.net/note/delete/70279/non-english
Del: in docs -- https://master.php.net/note/delete/70279/in+docs
Del: other reasons-- https://master.php.net/note/delete/70279
Reject -- https://master.php.net/note/reject/70279
Search -- https://master.php.net/manage/user-notes.php