Regarding substracting date

From: Mohammad Ismail <mohammad.ismail_at_birlaatt.com>
Date: Mon, 30 Apr 2001 16:08:34 +0530

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
Received on Mon Apr 30 2001 - 10:39:49 NZST

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