This will break in January.
You're right. To fix, just add:
$curr_year-- if $curr_month eq "Jan";
In reply to Re^3: How to get last month date period
by almut
in thread How to get last month date period
by roborat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |