note 109969 added to function.mktime

From: Date: Thu, 06 Sep 2012 15:39:22 +0000
Subject: note 109969 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-190538@lists.php.net to get a copy of this message
The reason for your unexpected dates are the leading zeros on your month. Read the description for the month argument above. It doesn't evaluate 08 as 8 but rather 0 so it is seen as December of the previous year. ---- Server IP: 69.147.83.197 Probable Submitter: 71.43.135.46 ---- Manual Page -- http://www.php.net/manual/en/function.mktime.php Edit -- https://master.php.net/note/edit/109969 Del: integrated -- https://master.php.net/note/delete/109969/integrated Del: useless -- https://master.php.net/note/delete/109969/useless Del: bad code -- https://master.php.net/note/delete/109969/bad+code Del: spam -- https://master.php.net/note/delete/109969/spam Del: non-english -- https://master.php.net/note/delete/109969/non-english Del: in docs -- https://master.php.net/note/delete/109969/in+docs Del: other reasons-- https://master.php.net/note/delete/109969 Reject -- https://master.php.net/note/reject/109969 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#190538) next »