Compare dates and get the number of days
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6218928/how-can-i-find-the-number-of-days-betwen-two-dates">How can I find the number of days betwen two Dates?</a>  </p>
</blockquote>



<p>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</p>
