> Is this just my misunderstand or is Time::Local::timelocal broken?
Put this down to mostly operator error. However, the documentation should
be changed to mention that year should be year-1900. And that 1970 isn't
considered the epoch...
> According to the comments:
> # Usage:
> # $time = timelocal($sec,$min,$hours,$mday,$mon,$year);
> # $time = timegm($sec,$min,$hours,$mday,$mon,$year);
>
> However, I get -1 on just about any year greater than 38.
Major OE.... I had tried a negative number, was cutting and pasting and missed
the negative.
-spp
Put this down to mostly operator error. However, the documentation should
be changed to mention that year should be year-1900. And that 1970 isn't
considered the epoch...
> According to the comments:
> # Usage:
> # $time = timelocal($sec,$min,$hours,$mday,$mon,$year);
> # $time = timegm($sec,$min,$hours,$mday,$mon,$year);
>
> However, I get -1 on just about any year greater than 38.
Major OE.... I had tried a negative number, was cutting and pasting and missed
the negative.
-spp