The months returned from localtime are in the range 0..11,
so you need to add +1 to get a human rep. This apparently
weird convention comes from C, and is useful for indexing
months in
0-based arrays in C and Perl. The $wday is 0-based as well.
The year offset is harder
to justify and IIRC this will be corrected in Perl6.
-Mark