Help for this page
use POSIX 'strftime'; ... my $date = strftime ('%Y%m%d', localtime $then); print $date; # prints 20020524
use Time::Piece; use Time::Seconds; ... my $then = $now - (14 * ONE_DAY); print $then->ymd; # or various other output functions