I need to add two entires to a data file. These entires are the present date and (the date that would be two weeks back from the present date)
In other words
todays date - 14 days
If todays date was 1/3/01
The second date would need to be 12/20/00
These entries get appened to a file.
I figured out how to create the first date.
date +%D > date.new
Any ideas on how to create the second date ?
Would perl be a good soloution for this ?
-Danny
In other words
todays date - 14 days
If todays date was 1/3/01
The second date would need to be 12/20/00
These entries get appened to a file.
I figured out how to create the first date.
date +%D > date.new
Any ideas on how to create the second date ?
Would perl be a good soloution for this ?
-Danny