note 83938 deleted from function.strtotime by danbrown
| From: | danbrown@php.net | Date: | Sat, 25 Oct 2008 05:50:35 +0000 |
| Subject: | note 83938 deleted from function.strtotime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145740@lists.php.net to get a copy of this message | ||
Note Submitter: Alex
----
BEWARE: Someone thought this was a good idea...
$t = strtotime('2008-00-14'); // == 1197590400
$d = date("d-m-Y", $t); // == 14-12-2007
I am not sure when this function EVER returns false but its obviously not when the dates incorrect.