note 75477 added to function.strtotime

From: Date: Fri, 01 Jun 2007 03:10:39 +0000
Subject: note 75477 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-127094@lists.php.net to get a copy of this message
Note about strtotime() when trying to figure out the NEXT month... strtotime('+1 months'), strtotime('next month'), and strtotime('month') all work fine in MOST circumstances... But if you're on May 31 and try any of the above, you will find that 'next month' from May 31 is calculated as July instead of June.... ---- Server IP: 69.147.83.197 Probable Submitter: 71.169.23.25 ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- https://master.php.net/note/edit/75477 Del: integrated -- https://master.php.net/note/delete/75477/integrated Del: useless -- https://master.php.net/note/delete/75477/useless Del: bad code -- https://master.php.net/note/delete/75477/bad+code Del: spam -- https://master.php.net/note/delete/75477/spam Del: non-english -- https://master.php.net/note/delete/75477/non-english Del: in docs -- https://master.php.net/note/delete/75477/in+docs Del: other reasons-- https://master.php.net/note/delete/75477 Reject -- https://master.php.net/note/reject/75477 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127094) next »