Shell script to get difference between two dates

Viewed 70153

If there are dates as 2010-06-01 and another as 2010-05-15

Using shell script or date command how to get the number of days between the two dates

Thanks..

5 Answers
Related