note 10696 deleted from function.strtotime by jimw

From: Date: Fri, 14 Dec 2001 20:56:41 +0000
Subject: note 10696 deleted from function.strtotime by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22793@lists.php.net to get a copy of this message
Given $date="January 2000" strtotime($date) does not assume you mean "Jan 1, 2000". (In my opinion should assume you mean the first when the date is not specified.) Of course the simple way around this is: strtotime("1 " . $date)

« previous php.notes (#22793) next »