bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug report for "date"


From: Bob Proulx
Subject: Re: Bug report for "date"
Date: Tue, 28 Jul 2009 18:28:41 -0600
User-agent: Mutt/1.5.18 (2008-05-17)

Paul Grinberg wrote:
> Thank you for your reply. You are right, I am trying to calculate time
> backwards....it only allows 6 days back...i need 7 :) the whole week :)
>
> Unfortunately in solaris it does not work :(((

Well, this is the mailing list for the GNU system's date and so you
wouldn't expect us to suggest anything other than that perhaps you
might consider switching to the GNU system.  It works there!  :-)

> # date -R --date="-14 days"
> date: illegal option -- R
> date: illegal option -- date=-14 days
> usage:  date [-u] mmddHHMM[[cc]yy][.SS]
>         date [-u] [+format]
>         date -a [-]sss[.fff]

Well, that isn't the GNU date so there isn't anything that we can say
here that will help you there.  Good luck!

Do you have Perl, Python or Ruby?  You might try doing date
calculations using Perl and the Date::Calc library.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]