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.
Working with dates
Name: nauj Date: December 1, 2005 at 05:13:12 Pacific OS: AIX CPU/Ram: AIX
Comment:
I want to add a number to a date and resolve the new date. For example: I know the date of today and I want to know the date before a week (7 days) date2 = date + 7 Using formats echo the new date echo `date2 '+%Y%m%d'` ¿is that possible? ¿is there any function to add days to a date this? Any advice will be greatly apprecited
Name: aarora_98 Date: December 5, 2005 at 05:06:26 Pacific
Reply:
I want make a directory with current system date.... Can anybody help me for what should I use in mkdir cmd so that it will automatically name my directory as current sys date ?.
0
Response Number 3
Name: WilliamRobertson Date: December 5, 2005 at 11:13:17 Pacific
Summary: oh oh oh its very hard to work with dates under unix, because there is no spezify tool for it! my solution is, that "we" have a oracle server installed on the unix machine, so i can calculate the date...
Summary: oh oh oh its very hard to work with dates under unix, because there is no spezify tool for it! my solution is, that "we" have a oracle server installed on the unix machine, so i can calculate the date...
Summary: William Robertson has done some fine work with date calculation he chose to share with us here. http://www.williamrobertson.pwp.blueyonder.co.uk/code/shift_date.txt ...