Re: Y2k problem in perl 5.004.04-7
On Sat, Jan 22, 2000 at 14:41:32 +0100, Rodrigo Fernandez-Vizarra Bonet wrote:
> $year = (localtime(time())->year);
> Actual date 22-0-100
This is not a Y2K problem in perl, but a case of not reading the relevant
part of the fine perl manual. Quoting perlfunc(1p) on localtime:
:Also, $year is the number of years since 1900, that is, $year is 123 in
:year 2023, and not simply the last two digits of the year. If you assume
:it is, then you create non-Y2K-compliant programs--and you wouldn't want to
:do that, would you?
Tevens ben ik van mening dat Nederland overdekt dient te worden.