Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Re: [SLE] 'date' question (wanna find yestreday date)
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Tue, 8 Feb 2005 15:57:51 +0100
  • Message-id: <200502081557.51633.andjoh@xxxxxxxxxx>
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

< Previous Next >
Follow Ups
References