note 15815 added to function.strtotime

From: Date: Wed, 03 Oct 2001 21:34:27 +0000
Subject: note 15815 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-18541@lists.php.net to get a copy of this message
I'm not sure about all versions of this but on PHP 4.0.5 and above if you simply pass the MySQL YYYY-MM-DD 'DATE' field to it, it will accept it.<P> strtotime("01/05/2001");<BR> strtotime("2001-01-05");<P> Those two both return the same value. -- http://www.php.net/manual/en/function.strtotime.php http://master.php.net/manage/user-notes.php?action=edit+15815 http://master.php.net/manage/user-notes.php?action=delete+15815 http://master.php.net/manage/user-notes.php?action=reject+15815

« previous php.notes (#18541) next »