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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pigo at pchome dot com dot tw
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 12:01:27 2025 UTC