Manage date in bash

Hi,
do you know if exists a bash metods/function to do today date -1 day
or -2 day ecc?
example (object style)
today is 31102007, date.today(-1) = 30102007
Thanks
patrick [ Mi, 31 Oktober 2007 16:22 ] [ ID #1858236 ]

Re: Manage date in bash

2007-10-31, 08:22(-07), Patrick:
> do you know if exists a bash metods/function to do today date -1 day
> or -2 day ecc?
> example (object style)
> today is 31102007, date.today(-1) = 30102007

That's the most FAQ in this newsgroup. You should be able to
find zillions of answers in this newsgroup archive or in the
FAQ.

--
Stéphane
Stephane CHAZELAS [ Mi, 31 Oktober 2007 16:26 ] [ ID #1858237 ]

Re: Manage date in bash

On 31 Ott, 16:26, Stephane CHAZELAS <this.addr... [at] is.invalid> wrote:
> 2007-10-31, 08:22(-07), Patrick:
>
> > do you know if exists a bash metods/function to do today date -1 day
> > or -2 day ecc?
> > example (object style)
> > today is 31102007, date.today(-1) =3D 30102007
>
> That's the most FAQ in this newsgroup. You should be able to
> find zillions of answers in this newsgroup archive or in the
> FAQ.
>
> --
> St=E9phane

could you write me a newsgroup link,please?
thanks
patrick [ Mi, 31 Oktober 2007 17:01 ] [ ID #1858239 ]
Linux » comp.unix.shell » Manage date in bash

Vorheriges Thema: Removing a letter from a command's first argument
Nächstes Thema: Sed reqular expression question.