bug-coreutils
[Top][All Lists]
Advanced

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

RE: Bug report for "date"


From: Paul Grinberg
Subject: RE: Bug report for "date"
Date: Tue, 28 Jul 2009 20:29:23 -0400

Perl is my friend :)))


Best,
Paul


-----Original Message-----
From: Bob Proulx [mailto:address@hidden 
Sent: Tuesday, July 28, 2009 8:29 PM
To: Paul Grinberg
Cc: address@hidden
Subject: Re: Bug report for "date"

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]