#19195 [NEW]: strtotime bug

From: Date: Fri, 30 Aug 2002 10:07:47 +0000
Subject: #19195 [NEW]: strtotime bug
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18238@lists.php.net to get a copy of this message
From: pigo@pchome.com.tw Operating system: RedHat 7.3 PHP version: 4.2.2 PHP Bug Type: Date/time related Bug description: strtotime bug 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 bug report at http://bugs.php.net/?id=19195&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19195&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19195&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19195&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19195&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19195&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19195&r=support Expected behavior: http://bugs.php.net/fix.php?id=19195&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19195&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19195&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19195&r=globals

« previous php.bugs (#18238) next »