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.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (299 votes). Check out past polls.