From 68638642f53ae80419c4e777888114141a954c04 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Thu, 4 Dec 2008 13:37:31 +0000 Subject: [PATCH] mktime accepts a year of 100-110 as 2000-2010. Bug#46732 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270533 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/functions/mktime.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/datetime/functions/mktime.xml b/reference/datetime/functions/mktime.xml index d296ce5a3e..e39f7b86cf 100644 --- a/reference/datetime/functions/mktime.xml +++ b/reference/datetime/functions/mktime.xml @@ -1,5 +1,5 @@ - + @@ -80,9 +80,9 @@ year - The number of the year, may be a two or four digit value, - with values between 0-69 mapping to 2000-2069 and 70-100 to - 1970-2000. On systems where time_t is a 32bit signed integer, as + The number of the year, may be a two, three or four digit value, + with values between 0-69 mapping to 2000-2069 and 70-110 to + 1970-2010. On systems where time_t is a 32bit signed integer, as most common today, the valid range for year is somewhere between 1901 and 2038. However, before PHP 5.1.0 this range was limited from 1970 to 2038 on some systems (e.g. Windows).