Re: OT: util for relative date? On Sun, 11 May 2008, loki harfagr wrote:
> On Sun, 11 May 2008 11:30:51 -0700, William Hunt wrote:
>> i'm looking for a util which, given an integer argument N, can print the
>> date of the day N days ago. example:
[...]
> You didn't say your reasons why you wouldn't
> use the 'fuzzy' date like:
>
> $ date --date "yesterday"
> Sun May 10 20:43:55 CEST 2008
> $ date --date "2 days ago"
> Fri May 9 20:44:06 CEST 2008
:*) because the man page does not even mention fuzzy dates.
And, 'strings /bin/date' doesn't produce any such keywords.
And, 'info date' only tells me to use 'info date' for the
full documentation, LOL.
Thanks, Loki!
--
William Hunt, Portland Oregon USA |