#47470 [Com]: mktime fails for dates > 2038

From: Date: Sun, 22 Feb 2009 17:49:21 +0000
Subject: #47470 [Com]: mktime fails for dates > 2038
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-134091@lists.php.net to get a copy of this message
ID: 47470 Comment by: crrodriguez at opensuse dot org Reported By: mb at smartftp dot com Status: Open Bug Type: Date/time related Operating System: Windows 2008 64-bit PHP Version: 5.2.8 New Comment: http://en.wikipedia.org/wiki/Year_2038_problem Previous Comments: ------------------------------------------------------------------------ [2009-02-22 02:09:01] mb at smartftp dot com Description: ------------ mktime fails for dates > 2038. Reproduce code: --------------- <?php if(mktime(0,0,0, 1, 1, 2039) === FALSE) { print "mktime failed"; } ?> Expected result: ---------------- No output Actual result: -------------- mktime failed ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47470&edit=1

« previous php.bugs (#134091) next »