Then just strftime to whatever format you need.my $NUM_DAYS = 7; my $time = time(); print scalar localtime ($time - (60*60*24*$NUM_DAYS));
In reply to Re^2: Getting previous dates from the current date
by cazz
in thread Getting previous dates from the current date
by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |