From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653646721795.tru64-unix-managers.marc@archive.invalid> From: Mohammad Ismail Date: Mon, 30 Apr 2001 10:50:34 +0000 To: tru64-unix-managers Subject: Regarding substracting date X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653646721795 Dear all , Today only i joined this news-group . This is a fantastic media to help each other. I am having a little problem . i hv to run a job (on daily basis ), whose calculation are based on system date , and want to put this job in cron daemon . i would like to know how we can substract two dates ? Ex. as Today is 30-apr-2001 shell scripts does calculations based on start and end dates . in this case start and end date are .. start-date=28-apr-2001 end-date=29-apr-2001 Thanks in Advance. Regards, Ismail