How to calculate the total number of days passed
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5351483/calculate-date-time-difference-in-java">Calculate date/time difference in java</a>  </p>
</blockquote>



<p>I am providing the user with the option to select the date using Date Picker. Is there any in-built method using which I can calculate the duration in days wrt to user selected date and todays date.</p>
