Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Get Tomorrow's Date in ddmmyy
Name: covina Date: October 3, 2003 at 07:52:19 Pacific OS: aix CPU/Ram: 200
Comment:
How do i get tomorrow's date in ddmmyy format. I need in korn shell script.
Name: WilliamRobertson Date: October 3, 2003 at 16:06:47 Pacific
Reply:
Thanks David!
After downloading my fine script, try
shift_date $(date +"%Y%m%d") +1 | sed 's/\(..\)\(..\)\(..\)\(..\)/\4\3\2/'
0
Response Number 3
Name: Don Wilson Date: October 12, 2003 at 13:49:50 Pacific
Reply:
As a related question, how do I find the day of the week for a future day. As I write, today is Sunday, October 12th. What day of the week will October 31st be?
Summary: All, I have a requirement to assign yesterday's date in to a var. This should be compatible with all the months from Jan to Dec. Appreciate your help regarding the same. Cheers, Nish. ...
Summary: Jonny, You posted an update to the earlier thread #5223, including your "calculate_date.sh" script, but this forum won't let me post to it because it's too old, so I'll try to continue here. Well that...
Summary: I have a backup directory with a few hundred thousand files, several thousand from each day. I want to tar up the files into 1 or more files for each day. I can use the find command with -mtime to g...