note 89877 deleted from function.strtotime by danbrown
| From: | danbrown@php.net | Date: | Thu, 26 Mar 2009 19:54:07 +0000 |
| Subject: | note 89877 deleted from function.strtotime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152492@lists.php.net to get a copy of this message | ||
Note Submitter: jeff DOT peck AT snet DOT net
----
I noticed this strange behavior:
strtotime(1235766792) = -14035530203
strtotime(1236371525) = null
I have a few guesses at why it might be. But just a note to anybody who is checking whether a
parameter is a timestamp or a parsable date-time string, you should not rely on strtotime to tell
this information.