note 106364 added to function.strtotime

From: Date: Mon, 31 Oct 2011 11:16:03 +0000
Subject: note 106364 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-184243@lists.php.net to get a copy of this message
Don't know if this is normal behavior, but in 31/10/2011 while requesting "+1 month" or "next month" it returns "December 1st". I think "next month" should be defined somewhere, that it simply adds 30 days from current timestamp. You could probably just use "+30 days" and "next month" should return true next month, for example 00:00:00 01/11/2011. That would be convenient. ---- Server IP: 69.147.83.197 Probable Submitter: 82.135.210.70 ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit -- https://master.php.net/note/edit/106364 Del: integrated -- https://master.php.net/note/delete/106364/integrated Del: useless -- https://master.php.net/note/delete/106364/useless Del: bad code -- https://master.php.net/note/delete/106364/bad+code Del: spam -- https://master.php.net/note/delete/106364/spam Del: non-english -- https://master.php.net/note/delete/106364/non-english Del: in docs -- https://master.php.net/note/delete/106364/in+docs Del: other reasons-- https://master.php.net/note/delete/106364 Reject -- https://master.php.net/note/reject/106364 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184243) next »