note 35594 added to function.strtotime
| From: | sellam at vintage dot org | Date: | Sun, 07 Sep 2003 16:33:50 +0000 |
| Subject: | note 35594 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55579@lists.php.net to get a copy of this message | ||
This function apparently does not work correctly if you have just a date and month in that order.
For example:
"September 1998" or "09/1998" returns 1234944022 while "September 1,
1998" returns 904633221 and "September 30, 1998" returns 907138821.
I tried analyzing (briefly) the difference between the outputs of different date sets and it was not
consistent, so I can't tell what's going on.
Also, I'm finding (on my installation at least) the function works through the following
timestamp:
2038-01-18 19:13:45
After that it returns -1.
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35594
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35594&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35594&report=yes