note 52119 added to function.strtotime

From: Date: Thu, 21 Apr 2005 15:14:45 +0000
Subject: note 52119 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-88354@lists.php.net to get a copy of this message
i am trying to differentiate between the results from passing "jan 2004" and "jan 21 2004". for some reason, if you do not specify a specific day, it uses the 21st of the month. but i need to figure out that the user specifically entered only a month/year. anyone have a solution for this besides implementing my own strtomonth() function? ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52119 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52119&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52119&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52119&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52119&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52119&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52119&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88354) next »