#47470 [Opn->Bgs]: mktime fails for dates > 2038
| From: | derick@php.net | Date: | Sun, 22 Feb 2009 18:03:59 +0000 |
| Subject: | #47470 [Opn->Bgs]: mktime fails for dates > 2038 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134092@lists.php.net to get a copy of this message | ||
ID: 47470
Updated by: derick@php.net
Reported By: mb at smartftp dot com
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: Windows 2008 64-bit
PHP Version: 5.2.8
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2009-02-22 17:49:21] crrodriguez at opensuse dot org
http://en.wikipedia.org/wiki/Year_2038_problem
------------------------------------------------------------------------
[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