note 37556 added to function.strtotime
| From: | junschari at chellol dot at | Date: | Wed, 19 Nov 2003 17:07:06 +0000 |
| Subject: | note 37556 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60630@lists.php.net to get a copy of this message | ||
A quick sidenote from my experience:
When feeding strtotime() the value "--"
(in my case, coming from a date that failed to explode() correctly),
strtotime() doesn't return -1 as expected,
but the current timestamp.
Hope this helps someone, it took me a couple of hours to find that out.
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37556
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37556&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37556&report=yes
Search -- http://master.php.net/manage/user-notes.php