note 112134 added to function.strtotime
| From: | tonlok2002 at yahoo dot com | Date: | Wed, 08 May 2013 15:10:23 +0000 |
| Subject: | note 112134 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194740@lists.php.net to get a copy of this message | ||
When executing the following line of code:
$date = date('Y-m-d', strtotime('July 2013 Second Monday'));
will return the third Monday if the first Monday is the first day of the month. Otherwise, this
works normally and is really cool.
I will reporting this as a (potential) bug.
PHP Version 5.4.12
----
Server IP: 69.147.83.199
Probable Submitter: 151.132.206.26
----
Manual Page -- http://php.net/manual/en/function.strtotime.php
Edit -- https://master.php.net/note/edit/112134
Del: integrated -- https://master.php.net/note/delete/112134/integrated
Del: useless -- https://master.php.net/note/delete/112134/useless
Del: bad code -- https://master.php.net/note/delete/112134/bad+code
Del: spam -- https://master.php.net/note/delete/112134/spam
Del: non-english -- https://master.php.net/note/delete/112134/non-english
Del: in docs -- https://master.php.net/note/delete/112134/in+docs
Del: other reasons-- https://master.php.net/note/delete/112134
Reject -- https://master.php.net/note/reject/112134
Search -- https://master.php.net/manage/user-notes.php