if my $current_month is 10 i want my previous month i want it to be 09 instead of 9.my $current_month = strftime "%m", localtime;
How to acheive this.my $previous_month = $current_month - 1;
In reply to How to display 10 -1 =09 In Perl by chai6125
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |