note 34013 added to function.mktime

From: Date: Sun, 13 Jul 2003 22:49:55 +0000
Subject: note 34013 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-52039@lists.php.net to get a copy of this message
Just a little note to remind you must *NOT* add a leading zero to the int arguments. In fact, this will convert the number in octal number system (i.e 08=10), like in UNIX permissions (0777=1411 !). That's why date('d'); (wich add a leading zero) could have an odd behaviour ... Hope this helps ---- Manual Page -- http://www.php.net/manual/en/function.mktime.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34013 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34013&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34013&report=yes

« previous php.notes (#52039) next »