From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,123179f27fb1f2a7,start X-Google-Attributes: gidfa528,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!peer1.news.newnet.co.uk!text1.news.newnet.co.uk!news-peer-lilac.gradwell.net!malatesta.hpl.hp.com!news-pa1.hpl.hp.com!not-for-mail From: "Banzai" Newsgroups: comp.unix.tru64 Subject: using the tru64 date utility to present yesterdays date Date: Mon, 2 Jul 2007 15:24:08 +0100 Organization: HP Labs, Hewlett-Packard Company Message-ID: NNTP-Posting-Host: dasp01.emea.hpqcorp.net X-Trace: news-pa1.hpl.hp.com 1183386243 2310 16.26.121.99 (2 Jul 2007 14:24:03 GMT) X-Complaints-To: usenet@news-pa1.hpl.hp.com NNTP-Posting-Date: Mon, 2 Jul 2007 14:24:03 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Xref: g2news1.google.com comp.unix.tru64:1005 Hello The implementation of date in linux has a -d flag to present yesterdays date. For instance # date +"%Y-%m-%d" 2007-07-02 # date +"%Y-%m-%d" -d yesterday 2007-07-01 Is there something similar for tru64 ?? as it doesn't seem to support the -d flag