in reply to 3 days previous Date
my $current = `date`;
print "Current date and time is $current";
print `date -d "1 day ago"`;
print `date -d "1 week ago"`;
print `date -d "1 month ago"`;
print `date -d "1 year ago"`;
Running a shell so many times sounds expensive and not portable.
Fruit and Vegetables
Me, that's why I'm so cool
Logic (separated into Horror and Brilliance)
Results (218 votes). Check out past polls.