in reply to
month off by one?
Month is counted from zero:
January is month 0
December is month 11
This works well for arrays
Readup on
localtime
to see details on what else may bite you later
Comment on
Re: month off by one?
In Section
Seekers of Perl Wisdom