Can anyone help me with this
When I type "date" on a unix machine I get the
"Tue Jul 27 08:51:18 GMT 2004" output.
How can I get the it in the format "20040727", I don't need the time necessarily, but it doesn't matter if I get it.
Also I want to be able to increment/decrement it by whatever number up to 9, I choose but cannot make any sense of the man pages.
Is it smart enough to know when it gets to the end of a month, to increment the month and then start the day from 01 again.
Any help much appreciated.
Regards
When I type "date" on a unix machine I get the
"Tue Jul 27 08:51:18 GMT 2004" output.
How can I get the it in the format "20040727", I don't need the time necessarily, but it doesn't matter if I get it.
Also I want to be able to increment/decrement it by whatever number up to 9, I choose but cannot make any sense of the man pages.
Is it smart enough to know when it gets to the end of a month, to increment the month and then start the day from 01 again.
Any help much appreciated.
Regards