my $current_month = strftime "%m", localtime; my $previous_month = $current_month - 1; my $previous_month = sprintf("%02d", $previous_month);
In reply to Re^2: How to display 10 -1 =09 In Perl
by chai6125
in thread How to display 10 -1 =09 In Perl
by chai6125
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |