tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* New version of DATE
@ 1999-10-04 10:16 Azhar H. Chowdhury
  0 siblings, 0 replies; only message in thread
From: Azhar H. Chowdhury @ 1999-10-04 10:16 UTC (permalink / raw)
  To: tru64-unix-managers

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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-10-04 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-04 10:16 New version of DATE Azhar H. Chowdhury

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