note 10677 deleted from function.strtotime by philip
| From: | philip@php.net | Date: | Wed, 21 Nov 2001 23:42:30 +0000 |
| Subject: | note 10677 deleted from function.strtotime by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21127@lists.php.net to get a copy of this message | ||
Another note is that when it encounters an invalid date string (like strtotime ('201-12
17:58:07') it will return -1.
<pre>
print "strtotime ('201-12 17:58:07') =".strtotime ('201-12
17:58:07')."\n";
</pre>
This will return:
<pre>
strtotime ('201-12 17:58:07') =-1
</pre>