title: how to compare timestamps
body: <p>I have looked on this forum and found some simmiliar posts about converting timestamps with jQuery.
  But i havent found once that fixes my problem.</p>
  
  <p>Im working on a webapplication, in combination with Jquery Mobile.
  In this webapp im showing some twitter feeds: image from and message. Now im trying to get the date in there also.</p>
  
  <p>Wehn im retreiving the date from the json its like this:</p>
  
  <pre><code>Tue, 05 Jun 2012 13:25:06 +0000
  </code></pre>
  
  <p>now i want to compare this date with the current date to calculate the time past. 
  This because i want to say: 1 second ago, 2 min ago 1 hour ago etc.</p>
  
  <p>can someone tell me how i can compare the current date with the twitter date?</p>