php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #48140 the range of the strtotime function not clear
Submitted: 2009-05-04 03:19 UTC Modified: 2009-05-04 22:26 UTC
From: danial dot xd dot lu at gmail dot com Assigned: fa (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Windows XP SP2
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: danial dot xd dot lu at gmail dot com
New email:
PHP Version: OS:

 

 [2009-05-04 03:19 UTC] danial dot xd dot lu at gmail dot com
Description:
------------
The page about strtotime function in manual mentioned that the date in two digital format 00-69 will in charge as 2000-2069, it seems that the function support the date in 2069 year, but in fact, the range of the function support is in charge of the hardware, in 32 bit system, it only support date from 1901-12-13 20:45:52 to 2038-01-19 03:14:07, because the range of int is -2147483648 to 2147483647, if you use the date later than 2038-01-19 03:14:07, it will always return flase.

Reproduce code:
---------------
---
From manual page: function.strtotime
---


Expected result:
----------------
Please add some comments about the range of the date support for the function. Some of the comments makes confused.

Actual result:
--------------
Not mentioned the range of the date the function supported.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-04 22:26 UTC] fa@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of fa
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=17ea12fc89c39ff974486097d0a575dead3854fe
Log: fixed bug #48140
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC