note 109970 added to function.mktime

From: Date: Thu, 06 Sep 2012 15:53:33 +0000
Subject: note 109970 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-190539@lists.php.net to get a copy of this message
For tothpeter: Use date('n') for month argument to mktime to get month without leading zeros. Use date('j') for day argument to mktime to get the day without leading zeros as specified in the argument list. The argument 09 for month must have evaluated to 0, giving the time for 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/109970 Del: integrated -- https://master.php.net/note/delete/109970/integrated Del: useless -- https://master.php.net/note/delete/109970/useless Del: bad code -- https://master.php.net/note/delete/109970/bad+code Del: spam -- https://master.php.net/note/delete/109970/spam Del: non-english -- https://master.php.net/note/delete/109970/non-english Del: in docs -- https://master.php.net/note/delete/109970/in+docs Del: other reasons-- https://master.php.net/note/delete/109970 Reject -- https://master.php.net/note/reject/109970 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#190539) next »