in reply to Why does localtime() return $YEAR-1900?
And it's a fix for an old custom that started a long time ago (70s - 80s) when they thought "2-digit years should be enough for any date".
So when 2000 came along, they had a problem. Replacing 2 digit years with years since 1900 was the easiest, backward compatible fix.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Why does localtime() return 1900-$YEAR?
by apl (Monsignor) on Jan 31, 2011 at 12:44 UTC | |
by szabgab (Priest) on Jan 31, 2011 at 13:51 UTC | |
by ikegami (Patriarch) on Jan 31, 2011 at 16:15 UTC | |
by Utilitarian (Vicar) on Feb 01, 2011 at 09:28 UTC | |
by apl (Monsignor) on Feb 01, 2011 at 11:11 UTC |