note 117782 added to function.strtotime

From: Date: Sat, 08 Aug 2015 18:46:39 +0000
Subject: note 117782 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-203289@lists.php.net to get a copy of this message
On 31st of every month you will get a wrong month value while using date() or strtotime() functions. In that case you need to pass the date of the first day of the current month as a second parameter to the strtotime() function. http://www.namasteui.com/php-date-and-strtotime-return-wrong-months-on-31st/ ---- Server IP: 72.52.91.14 Probable Submitter: 116.203.133.24 ---- Manual Page -- http://php.net/manual/en/function.strtotime.php Edit -- https://master.php.net/note/edit/117782 Del: integrated -- https://master.php.net/note/delete/117782/integrated Del: useless -- https://master.php.net/note/delete/117782/useless Del: bad code -- https://master.php.net/note/delete/117782/bad+code Del: spam -- https://master.php.net/note/delete/117782/spam Del: non-english -- https://master.php.net/note/delete/117782/non-english Del: in docs -- https://master.php.net/note/delete/117782/in+docs Del: other reasons-- https://master.php.net/note/delete/117782 Reject -- https://master.php.net/note/reject/117782 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203289) next »