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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

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: Mon Apr 29 12:01:32 2024 UTC