Sorry, I usually search before posting, but the keyword search is "down" right now for maintenance.
Given that the following example assigns the current date to the variable TEST (in the format mm/dd/yy)...
# TEST=`date +%D`
# echo $TEST
01/16/03
What is the calculation that will assign the date of one week ago (7 days ago) in the format mm/dd/yy?
Thanks!
Given that the following example assigns the current date to the variable TEST (in the format mm/dd/yy)...
# TEST=`date +%D`
# echo $TEST
01/16/03
What is the calculation that will assign the date of one week ago (7 days ago) in the format mm/dd/yy?
Thanks!