note 106308 rejected from function.strtotime by danbrown
| From: | danbrown@php.net | Date: | Wed, 26 Oct 2011 20:14:47 +0000 |
| Subject: | note 106308 rejected from function.strtotime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-184152@lists.php.net to get a copy of this message | ||
Note Submitter: afranco at aamatrix dot com
----
$tempDate = strtotime(Sep 28 2011 12:00:00:000AM);
$newDate = date("Y-m-d", $tempDate);
Temp Date yields a null value and new date then becomes 1969/12/32.