tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Brian Hostetter <brian () netins ! net>
To: tru64-unix-managers
Subject: Date question
Date: Fri, 19 Feb 1999 21:12:40 +0000	[thread overview]
Message-ID: <96079036515829.tru64-unix-managers.marc@archive.invalid> (raw)


Is there any way in DU to get yesterdays date with the date command?  In
linux it is as simpe as doing a 
date --'2 days ago' 

I am trying to find out yesterdays date in the form
YYMMDD.  The following will do the correct format, I just dont know how to
find yesterday with out some elaborate perl script.


bash-2.02# date +"%y%m%d"
990219

TIA,
Brian


--
Brian Hostetter
brian@netins.net 

             reply	other threads:[~1999-02-19 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-19 21:12 Brian Hostetter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-11 11:18 Date Question Maaskant, Gert
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox