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.
Date 14days ago
Name: kayarsenal Date: September 4, 2006 at 05:21:46 Pacific OS: XP CPU/Ram: Intel/1GB Product: HP
Comment:
Is there a way to know the exact date 14days ago? And have it in this format
YYYYMMDD.
I want to store this date in a variable, then touch it.
Example today is Sep 4th 20060904, 14days ago would be 20060821,then
touch -t 200608210001 t1 (I would still need to concat 0001 to the date)
Summary: I am using HP-UNIX system. I am trying to keep only three days log files in my system, log files older than three days will deleted by a script, now what is the command to display the date of three da...
Summary: From "man ls": "If the time of last modification is greater than six months ago, it is shown in the format 'month date year' for the POSIX locale. When the LC_TIME locale category is not set to the P...