php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19195 strtotime bug
Submitted: 2002-08-30 06:07 UTC Modified: 2002-09-23 08:03 UTC
From: pigo at pchome dot com dot tw Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.2.2 OS: RedHat 7.3
Private report: No CVE-ID: None
 [2002-08-30 06:07 UTC] pigo at pchome dot com dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-30 06:10 UTC] 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-09-23 08:03 UTC] sniper@php.net
Works here too.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC