#19195 [Opn->Fbk]: strtotime bug
ID: 19195
Updated by: derick@php.net
Reported By: pigo@pchome.com.tw
-Status: Open
+Status: Feedback
Bug Type: Date/time related
Operating System: RedHat 7.3
PHP Version: 4.2.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
Thread (3 messages)