Well, darn. I thought I'd tried all the possible variations, but I used "now-N" or "now+N"
It's a shame that isn't documented in the man page. As always Jon, thanks, CJK On Wed, 2003-06-25 at 14:40, Jon Carnes wrote: > On Wed, 2003-06-25 at 13:17, Chris Knowles wrote: > > I do have a question... date -d "yesterday" and date -d "tomorrow" > > works, but what's the right way to generate a date 1 week ago, > > date -d "-1 week" > > > or an > > arbitrary date? (30 days ago, 45 days ago, 10 days from now, etc) > > date -d "-30 days", date -d "-45 days", date -d "+10 days" > > HtH - Jon > > _______________________________________________ > TriLUG mailing list > http://www.trilug.org/mailman/listinfo/trilug > TriLUG Organizational FAQ: > http://www.trilug.org/faq/TriLUG-faq.html -- Chris Knowles <[EMAIL PROTECTED]> _______________________________________________ TriLUG mailing list http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ: http://www.trilug.org/faq/TriLUG-faq.html
