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 To Second Convert Vice Versa
Name: Puguh DK Date: July 8, 2003 at 00:20:04 Pacific OS: Unix CPU/Ram: 256
Comment:
Can I convert current date to second, and sum it with 10800 (seconds for 1 week) and convert again the result to date to get the actual date in next week (7 days forward from current date) ?
Name: David Perry Date: July 8, 2003 at 06:30:14 Pacific
Reply:
There are 604800 seconds in a week. The shell does not allow for easy date manipulation although it's been addressed a few times here. Have a look at the answer proposed by WilliamRobertson
Summary: Hello, I am looking for a korn shell which converts any given date to julian date. I do not need the current day converted via `date +"%j"` but any other timestamp. Nice would something like a "functi...
Summary: Hello I need to make a script that takes numebrs from a file and converts them to Fahrenheit and vice versa. using a sub functio to do the calculation can anyon help me on this please ...