note 46563 deleted from function.strtotime by tomsommer
| From: | tomsommer@php.net | Date: | Fri, 15 Oct 2004 21:22:23 +0000 |
| Subject: | note 46563 deleted from function.strtotime by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78614@lists.php.net to get a copy of this message | ||
Note Submitter: feusebio at mediacapital dot pt
----
This function don't accept this time format:
<?php
$date_time = strtotime("2004-04-04 24:00:00"); // returns bad value -1
you must write time like this:
$date_time2 = strtotime("2004-04-04 00:00:00");
in the time string replace 24h to 00h
?>
----
Reason: useless note