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.
Calculate Previous Date in ksh
Name: Nish Date: December 1, 2002 at 20:02:02 Pacific OS: Solaris CPU/Ram: 256
Comment:
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: Hi, I'm new in writing unix scripts. Currently I need to write a script to calculate previous date. Lucky this web site has infomation on it. I have found the following problem from this web site whic...
Summary: I want the script to calculate a date in the past, say 7 days, and then delete certain files based on that date. My problem is that I don't know how to account for going back to the previous month or...
Summary: I'm trying to calculate the date 14 days into the future with the date function. Searching in this site I found something in a past post that subtracts 14 days (see below) but can't seem to play with...