title: Java, Calculate the number of days between two dates
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1555262/calculating-the-difference-between-two-java-date-instances">Calculating the Difference Between Two Java Date Instances</a>  </p>
  </blockquote>
  
  
  
  <p>In Java, I want to calculate the number of days between two dates.</p>
  
  <p>In my database they are stored as a <code>DATE</code> datatype, but in my code they are strings.</p>
  
  <p>I want to calculate the no of days between those two strings.</p>