title: Android - How to minus current date with any other date
body: <p>I have 2 Date-picker in my activity, 1 for Assigning date and other is due date, now what i want to do is when user set's both date i want difference of both the date in text-view. </p>
  
  <p>Ex. if assign date is 12-05-2013 and due date is 14-05-2013 then text-view should show "2 Days Left" I have done with this.</p>
  
  <p>Now the problem come's here, when date changes like if today is 13-05-2013 then i want to show "1 Day's Left" in text-view, it mean text-view should automatically update with current date.</p>
  
  <pre><code>public class Code {
  public static Calendar AssignDate;
  public static Calendar DueDate;
  }
  
  imageViewSubmit.setOnClickListener(new View.OnClickListener() {
          public void onClick(View arg0) {
              Code.title = editTextTitle.getText().toString().trim();
              Code.description = editTextDesc.getText().toString().trim();
              Code.diff = Code.DueDate.getTimeInMillis()
                      - Code.AssignDate.getTimeInMillis();
              Code.days = Code.diff / (24 * 60 * 60 * 1000);
  
              String strDays = String.valueOf(Code.days);
              textViewDiff.setText(strDays);
              String dateDifference = textViewDiff.getText().toString().trim();
          }
      });            
  </code></pre>