note 84464 added to function.strtotime
| From: | soapergem at gmail dot com | Date: | Tue, 15 Jul 2008 14:28:11 +0000 |
| Subject: | note 84464 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141536@lists.php.net to get a copy of this message | ||
Please note that currently (as of PHP 5.2.6) this function is still slightly broken...
If you request the day of the week that a month begins on in any multiple (for instance, this month
started on a Tuesday, so if I request the "2nd Tuesday") you will get values that are
improperly offset by one week for no apparent reason. This has been documented as bug #43452 and is
still currently unresolved. Just be careful if you're relying on this function for that
purpose; you're going to get incorrect values until this gets fixed!
http://bugs.php.net/bug.php?id=43452
----
Server IP: 209.41.74.194
Probable Submitter: 66.170.10.66
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- https://master.php.net/note/edit/84464
Del: integrated -- https://master.php.net/note/delete/84464/integrated
Del: useless -- https://master.php.net/note/delete/84464/useless
Del: bad code -- https://master.php.net/note/delete/84464/bad+code
Del: spam -- https://master.php.net/note/delete/84464/spam
Del: non-english -- https://master.php.net/note/delete/84464/non-english
Del: in docs -- https://master.php.net/note/delete/84464/in+docs
Del: other reasons-- https://master.php.net/note/delete/84464
Reject -- https://master.php.net/note/reject/84464
Search -- https://master.php.net/manage/user-notes.php