#19195 [Opn->Fbk]: strtotime bug

From: Date: Fri, 30 Aug 2002 10:10:04 +0000
Subject: #19195 [Opn->Fbk]: strtotime bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18239@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#18239) next »