#48140 [Opn->Csd]: the range of the strtotime function not clear

From: Date: Mon, 04 May 2009 22:26:42 +0000
Subject: #48140 [Opn->Csd]: the range of the strtotime function not clear
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2202@lists.php.net to get a copy of this message
ID: 48140 Updated by: fa@php.net Reported By: danial dot xd dot lu at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Windows XP SP2 PHP Version: Irrelevant -Assigned To: +Assigned To: fa New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2009-05-04 03:19:46] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48140&edit=1

« previous php.doc.bugs (#2202) next »