note 41997 added to function.strtotime
| From: | stry_cat at yahoo dot com | Date: | Wed, 28 Apr 2004 15:59:35 +0000 |
| Subject: | note 41997 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68960@lists.php.net to get a copy of this message | ||
This behavior confused me, so I thought I'd post a note here in case others might get confused.
<?php
strtotime("");
?>
This gives you the current time (or if you had given it something for the 2nd argument it would give
you that time).
Honestly I expected either an error or null to be returned.
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41997
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41997&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41997&report=yes
Search -- http://master.php.net/manage/user-notes.php