#20592 [Com]: mktime(0,0,0,08,02,2003) get the error result "1038758400"

From: Date: Sat, 23 Nov 2002 14:39:25 +0000
Subject: #20592 [Com]: mktime(0,0,0,08,02,2003) get the error result "1038758400"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25638@lists.php.net to get a copy of this message
ID: 20592 Comment by: michael.mauch@gmx.de Reported By: dour01@yahoo.com Status: Open Bug Type: Date/time related Operating System: FreeBSD 4.7-STABLE PHP Version: 4.2.3 New Comment: See <http://www.php.net/manual/en/language.types.integer.php>: literal numbers starting with 0 are interpreted as octal numbers, so you should just omit the 0 and write 8 and 9 instead of 08 and 09. Previous Comments: ------------------------------------------------------------------------ [2002-11-22 23:43:17] dour01@yahoo.com mktime(0,0,0,08,02,2003) is 1038758400 mktime(0,0,0,09,02,2003) is 1038758400 mktime(0,0,0,10,02,2003) is 1065024000 ------------------------------------------------------------------------ [2002-11-22 22:14:30] dour01@yahoo.com mktime(0,0,0,08,02,2003) is 1038758400 mktime(0,0,0,09,02,2003) is 1038758400 mktime(0,0,0,10,02,2003) is 1065024000 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20592&edit=1

« previous php.bugs (#25638) next »