note 80759 added to function.mktime

From: Date: Wed, 30 Jan 2008 20:58:39 +0000
Subject: note 80759 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-135629@lists.php.net to get a copy of this message
Just a small thing to think about if you are only trying to pull the month out using mktime and date. Make sure you place a 1 into day field. Otherwise you will get incorrect dates when a month is followed by a month with less days when the day of the current month is higher then the max day of the month you are trying to find.. (Such as today being Jan 30th and trying to find the month Feb.) ---- Server IP: 209.41.74.194 Probable Submitter: 63.131.46.152 ---- Manual Page -- http://www.php.net/manual/en/function.mktime.php Edit -- https://master.php.net/note/edit/80759 Del: integrated -- https://master.php.net/note/delete/80759/integrated Del: useless -- https://master.php.net/note/delete/80759/useless Del: bad code -- https://master.php.net/note/delete/80759/bad+code Del: spam -- https://master.php.net/note/delete/80759/spam Del: non-english -- https://master.php.net/note/delete/80759/non-english Del: in docs -- https://master.php.net/note/delete/80759/in+docs Del: other reasons-- https://master.php.net/note/delete/80759 Reject -- https://master.php.net/note/reject/80759 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135629) next »