hi,
a little bit of an odd one, if anyone has a neat idea.
We have a script which runs overnight using current date, in the case of failure we may need to rerun it and force the date to be a specific one.
For example, we may force a date like 20071231
Within the script, the date is used in two places -
firstly exactly as passed in like:
20071231
and then secondly needs to be + 1 date like:
20080101
Any ideas how to add 1 day to a passed in date like
20071231? so it becomes 20080101.
Thanks for any ideas!
a little bit of an odd one, if anyone has a neat idea.
We have a script which runs overnight using current date, in the case of failure we may need to rerun it and force the date to be a specific one.
For example, we may force a date like 20071231
Within the script, the date is used in two places -
firstly exactly as passed in like:
20071231
and then secondly needs to be + 1 date like:
20080101
Any ideas how to add 1 day to a passed in date like
20071231? so it becomes 20080101.
Thanks for any ideas!