From b5a96555976815b3288c88a853ca105876f270fa Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 9 Jun 2014 17:29:49 +0000 Subject: [PATCH] Include the range for two digit years in DateTime::createFromFormat(). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333741 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/datetime/createfromformat.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/reference/datetime/datetime/createfromformat.xml b/reference/datetime/datetime/createfromformat.xml index 709a811d45..1775d496a4 100644 --- a/reference/datetime/datetime/createfromformat.xml +++ b/reference/datetime/datetime/createfromformat.xml @@ -121,8 +121,16 @@ y - A two digit representation of a year - Examples: 99 or 03 + + A two digit representation of a year (which is assumed to be in the + range 1970-2069, inclusive) + + + Examples: + 99 or 03 + (which will be interpreted as 1999 and + 2003, respectively) + Time