Hello,
On a Solaris 8 systen from a Bourne shell script I need to set a variable value to the current date - 3.
I have been playing with the date command but I think I am making this too hard. I am not sure how to extract the date 3 days ago using it.
The format I need it in is: date '+%Y%m%d'
Example: 20060630
What is a simple way to get the value of date-3 in this format?
Thanks,
Michael42
On a Solaris 8 systen from a Bourne shell script I need to set a variable value to the current date - 3.
I have been playing with the date command but I think I am making this too hard. I am not sure how to extract the date 3 days ago using it.
The format I need it in is: date '+%Y%m%d'
Example: 20060630
What is a simple way to get the value of date-3 in this format?
Thanks,
Michael42