mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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
This commit is contained in:
parent
94d82f4272
commit
b5a9655597
1 changed files with 10 additions and 2 deletions
|
@ -121,8 +121,16 @@
|
|||
</row>
|
||||
<row>
|
||||
<entry><literal>y</literal></entry>
|
||||
<entry>A two digit representation of a year</entry>
|
||||
<entry>Examples: <literal>99</literal> or <literal>03</literal></entry>
|
||||
<entry>
|
||||
A two digit representation of a year (which is assumed to be in the
|
||||
range 1970-2069, inclusive)
|
||||
</entry>
|
||||
<entry>
|
||||
Examples:
|
||||
<literal>99</literal> or <literal>03</literal>
|
||||
(which will be interpreted as <literal>1999</literal> and
|
||||
<literal>2003</literal>, respectively)
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry align="center"><emphasis>Time</emphasis></entry>
|
||||
|
|
Loading…
Reference in a new issue