Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Re: [SLE] 'date' question (wanna find yestreday date)
  • From: Rhugga <rhugga@xxxxxxxxx>
  • Date: Tue, 8 Feb 2005 07:12:19 -0800 (PST)
  • Message-id: <20050208151219.3838.qmail@xxxxxxxxxxxxxxxxxxxxxxx>

--- Anders Johansson <andjoh@xxxxxxxxxx> wrote:

> On Tuesday 08 February 2005 15:55, Rhugga wrote:
> > Not sure if I badly need sleep or what, but I can't remember how I used to
> > do this back when.
> >
> > >From a bash script I want to determine yesterday's date. I don't want a
> > > cludge of if statements to
>
> date -d yesterday
>
> add a + string if you need it in a different format than the default
>
> --
> Check the headers for your unsubscription address
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the archives at http://lists.suse.com
> Please read the FAQs: suse-linux-e-faq@xxxxxxxx
>
>
>

Thanks, I knew it was some idiot proof way of doing this, heh. The woes of juggling between
solaris, linux, and irix all in the same hour.

thx,


< Previous Next >
References