tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Azhar H. Chowdhury" <azhar () citechco ! net>
To: tru64-unix-managers
Subject: New version of DATE
Date: Mon, 04 Oct 1999 10:16:11 +0000	[thread overview]
Message-ID: <96079079015952.tru64-unix-managers.marc@archive.invalid> (raw)

Dear All,

I  am very very simple problem. Problems are as follows:



1. How do I get previos day value:

   $mydate = date '$d-$m-$y'
   #current date.
   $mydate = date '($d-1)-$m-$y'
    #?? Somethings like that.

LINUX have various option for such date command. Such as,
---------------------------------------------------
To print the date of the day before yesterday
 
              date --date '2 days ago'
 
       To  print  the  date  of  the day three months and one day
       hence
 
              date --date '3 months 1 day' 
--------------------------------------------------

HOw ca I get latest version of date command for DU 4.A.

Thanking you,

Azhar 

                 reply	other threads:[~1999-10-04 10:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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