Mo Budlong has a series of Korn shell scripts that parse out the parts of the dates and then performs the calculation to find the difference which will be reported in days.
The ones that you will need are entitled -
ymd2yd
juldif
grgdif
If you use these please include Mo's name some where in the scripts, if for no other reason than because he made life a lot for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.