in reply to Re: How to display 10 -1 =09 In Perl
in thread How to display 10 -1 =09 In Perl
my $current_month = strftime "%m", localtime; my $previous_month = $current_month - 1; my $previous_month = sprintf("%02d", $previous_month);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to display 10 -1 =09 In Perl (Time::Piece)
by Anonymous Monk on Oct 30, 2014 at 10:02 UTC |