Twitter RSS pubDate format

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-06-05T18:49:13Z Indexed on 2010/06/05 18:52 UTC
Read the original article Hit count: 159

Filed under:
|
|
|
|

In a twitter RSS feed the pubDate is published as

Sat, Jun 5, 2010 19:20

Using PHP, whats the best way to convert this into the time lasped since published. For eaxmple,

posted 4 minutes ago posted 1 hour ago posted 4 hours ago posted 1 day ago posted 2 days ago posted 1 month ago posted 2 months ago

You help much appreciated

© Stack Overflow or respective owner

Related posts about php

Related posts about rss