note 42370 added to function.strtotime

From: Date: Thu, 13 May 2004 18:34:44 +0000
Subject: note 42370 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-69577@lists.php.net to get a copy of this message
As far as I can tell, there is no way to have strtotime handle a month/year specification. You will find that this: <? strtotime("January 2004"); ?> ...will give you some date in, like, 2009, since it thinks you mean the 2004th day in January of this year. Annoying, but true. ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42370 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42370&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42370&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69577) next »