in reply to built-in gmtime() returning one month off?
The reason the value is as it is is so that you may use it to index an array of month names, without wasting the first element. Thus, you could get the month name with something like:
my $month_name = (qw/Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec/)[$month];
There is some method to the madness...
|
|---|