#19195 [Fbk->Csd]: strtotime bug

From: Date: Mon, 23 Sep 2002 13:03:40 +0000
Subject: #19195 [Fbk->Csd]: strtotime bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20100@lists.php.net to get a copy of this message
ID: 19195 Updated by: sniper@php.net Reported By: pigo@pchome.com.tw -Status: Feedback +Status: Closed Bug Type: Date/time related Operating System: RedHat 7.3 PHP Version: 4.2.2 New Comment: Works here too. Previous Comments: ------------------------------------------------------------------------ [2002-08-30 06:10:03] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Works for me (same OS). Derick ------------------------------------------------------------------------ [2002-08-30 06:07:46] pigo@pchome.com.tw The script return 313965954 echo "Test: " .strtotime("Fri, 13 Dec 1979 20:45:54 GMT"); The script return -1 echo "Test: " .strtotime("Fri, 13 Dec 1960 20:45:54 GMT"); but document write : The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19195&edit=1

« previous php.bugs (#20100) next »