| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2008-12-02 17:06 UTC] derick@php.net
  [2008-12-02 18:03 UTC] derick@php.net
  [2008-12-04 13:40 UTC] rquadling@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 08:00:01 2025 UTC | 
Description: ------------ Documentation of mktime's year parameter states that > 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. But this part, `70-100 to 1970-2000`, is not precise. As in the implementation in ext/date/php_date.c::php_mktime, the doc should read: "70-110 to 1970-2010", instead of, "70-100 to 1970-2000". Reproduce code: --------------- echo date("Y-m-d", mktime(0,0,0,1,1,110)); Actual result: -------------- 2010-01-01