my $offset = 65; my $date = strftime "%Y-%m-%d", localtime(time - $offset * 86400);