ID:               33682
 Updated by:       [EMAIL PROTECTED]
 Reported By:      v1d4l0k4 at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Windows XP SP2
 PHP Version:      5.0.4
 New Comment:

How much is 2005 - 1900? Exactly, 105. There is no bug here and the
manual clearly describes that it's year - 1900.


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

[2005-07-13 20:29:10] v1d4l0k4 at gmail dot com

Description:
------------
The function localtime() don't work as expected. In the manual says
that the key associative tm_year shows the year since 1900.

But, if year is higher than 2000, this key associative represents the
year - 1900, or either, a hundred and few.

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

print_r(localtime());

?>

Expected result:
----------------
I expect that the key associative tm_year represents 2005, no 105.



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


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

Reply via email to