note 95073 added to function.mktime

From: Date: Sat, 12 Dec 2009 01:21:59 +0000
Subject: note 95073 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-163872@lists.php.net to get a copy of this message
On Windows systems you strip the leading spaces with the # character after the % character. Hence, the replacement for %e will be %#d : $d = mktime(0, 0, 0, 2, 1, 2010) ; echo strftime("The day of the month is %d\n", $d) ; echo strftime("The day of the month is %#d\n", $d) ; will output: The day of the month is 01 The day of the month is 1 ---- Server IP: 89.31.146.176 Probable Submitter: 83.197.59.116 ---- Manual Page -- http://www.php.net/manual/en/function.mktime.php Edit -- https://master.php.net/note/edit/95073 Del: integrated -- https://master.php.net/note/delete/95073/integrated Del: useless -- https://master.php.net/note/delete/95073/useless Del: bad code -- https://master.php.net/note/delete/95073/bad+code Del: spam -- https://master.php.net/note/delete/95073/spam Del: non-english -- https://master.php.net/note/delete/95073/non-english Del: in docs -- https://master.php.net/note/delete/95073/in+docs Del: other reasons-- https://master.php.net/note/delete/95073 Reject -- https://master.php.net/note/reject/95073 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#163872) next »