Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How about adding or subtracting time from creation dates?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How about adding or subtracting time from creation dates?
Authored by: ctierney on Jan 03, '07 11:17:47AM
If your date utility supports the -d option, then you might try something like:
date -d'2005-02-03 - 1 year 2 days 10 seconds ago'
I'm still at 10.3.9 and can confirm that the out of the box date utility does not support this. But maybe 10.4 does(?).

[ Reply to This | # ]