New version of DATE

From: Azhar H. Chowdhury <azhar_at_citechco.net>
Date: Mon, 04 Oct 1999 16:16:11 +0600

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
Received on Mon Oct 04 1999 - 10:12:02 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT