title: Android/Java - Date Difference in days
body: <p>I am getting the current date (in format 12/31/1999 i.e. mm/dd/yyyy) as using the below code:</p>
  
  <pre><code>Textview txtViewData;
  txtViewDate.setText("Today is " +
          android.text.format.DateFormat.getDateFormat(this).format(new Date()));
  </code></pre>
  
  <p>and I am having another date in format as: 2010-08-25 (i.e. yyyy/mm/dd) ,</p>
  
  <p>so I want to find the difference between date in number of days, how do I find difference in days? </p>
  
  <p>(In other words, I want to find the difference between <strong>CURRENT DATE - yyyy/mm/dd formatted date</strong>)</p>