I think perldoc -f localtime might be helpful here. The month returned from localtime comes from a 0-based array. Therefore, 0 = January, 1 = February, etc.
In reply to Re: month off by one?
by myocom
in thread month off by one?
by Coplan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |