ID:               28416
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Wont fix
 Bug Type:         Date/time related
 Operating System: *
 PHP Version:      4.3.6
 Assigned To:      derick
 New Comment:

This can not be fixed, because the unsigned int range does not extend
to the year "123".


Previous Comments:
------------------------------------------------------------------------

[2004-05-16 20:23:07] [EMAIL PROTECTED]

Description:
------------
mktime() doesn't handle three digit year values correct.

Reproduce code:
---------------
<?php

var_dump(date("Y", mktime(1, 2, 3, 4, 5, 123)));'

?>

Expected result:
----------------
string(4) "2123"

Actual result:
--------------
string(4) "2023"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28416&edit=1

Reply via email to