in reply to Getting previous dates from the current date
use POSIX qw(strftime); my $thisday = time; my $SixtyDaysPrevious = $thisday - 60 * 24 * 60 * 60; $SixtyDaysPrevious = strftime "%m/%d/%Y", ( localtime($SixtyDaysPre +vious) );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Getting previous dates from the current date
by Smylers (Pilgrim) on Mar 29, 2005 at 17:32 UTC | |
by tcf03 (Deacon) on Mar 29, 2005 at 18:23 UTC |