title: Difference between two datetime formats in android?
body: <p>As i am new to android development I am unable to find code for calculating the difference between two datetime formats. My question is.</p>
  
  <p>I am using webservice in my project where i am getting datetime response as follows..</p>
  
  <pre><code> starttime  :- [2012-11-04 10:00:00]
   endtime    :- [2012-11-04 12:00:00]
  </code></pre>
  
  <p>Here i want to display on screen as</p>
  
  <pre><code>   Today Timings  :-  2012-11-04   2 hours
  </code></pre>
  
  <p>Means need to calculate the difference between two dates and need to display the time difference on screen. </p>
  
  <p>Can anyone please help me with this. </p>