Possible Duplicate:
How can I find the number of days betwen two Dates?
I am facing a problem on how to get the number of days that have been elapsed by comparing 2 dates. Currently i try to use compareTo() but it only returns either 1 or-1, I want to get the number of days that have passed. Thannks