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.
increment the seconds in the date
Name: Raja Arumugam Date: August 13, 2003 at 02:00:18 Pacific OS: Sun OS 5.6 CPU/Ram: 256
Comment:
Hi,
I need to increment the seconds in the date in the korn shell scripts. Please help.
Name: David Perry Date: August 13, 2003 at 04:23:56 Pacific
Reply:
The date command allows both the clock to be set with seconds accuracy and for the time to be reported including seconds. Which are you trying to do? The sun man pages for date explain this? What part are you having difficulty with ?
Summary: hi, need to convert the date in a SQUID logfile to a 'normal' value like 2002/09/24 so that I can make some changes - afterwards I want to convert it back to msecs since 1970/01/01 ! Are there any scr...
Summary: Actually camin, your problem is nothing like fdipaolo's, thus it should really start a new thread. fdipaolo wanted simply to get the date from the system and subtract one day from it. You want to fin...