title: JavaScript code to display Twitter created_at as xxxx ago
body: <p>I need some JS code that will take the <code>created_at</code> value from a Twitter feed and display it as xxxx ago.</p>
  
  <p>I can find examples of creating the <code>xxxx ago</code> bit but not examples of getting the <code>created_at</code> bit into the correct format for JS.</p>
  
  <p>Does anyone have an all in one function to do what I'm after?</p>
  
  <p>example format <code>Tue Apr 07 22:52:51 +0000 2009</code></p>
  
  <p>Cannot use <code>new Date(Date.parse("Tue Apr 07 22:52:51 +0000 2009"))</code> as it gives an invalid date error in IE.</p>