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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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 Apr 26 19:01:29 2024 UTC