#20130 [Com]: strtotime return -1 for date more than year 2038

From: Date: Wed, 30 Oct 2002 06:32:13 +0000
Subject: #20130 [Com]: strtotime return -1 for date more than year 2038
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23684@lists.php.net to get a copy of this message
ID: 20130 Comment by: rjames@yahoo-inc.com Reported By: yahya@titisb.com.my Status: Bogus Bug Type: Date/time related Operating System: windows 98 PHP Version: 4.2.3 New Comment: Don't brush off the problem because the underlying C code is short sighted. Switch to a better date-time structure. Previous Comments: ------------------------------------------------------------------------ [2002-10-27 21:00:46] iliaa@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. unix timestamps are only good till about year 2038. ------------------------------------------------------------------------ [2002-10-27 20:54:19] yahya@titisb.com.my echo strtotime("2039-01-01"); --it will return -1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20130&edit=1

« previous php.bugs (#23684) next »