Possible Duplicate:
How do you subtract Dates in Java?
I am creating java desktop application. In that application user give some date inputs. so i use 3party library "jCalendar.jar". for validation i want to subtract two dates. is there any way to subtract two dates in java?