Twitter statuses timestamp help

udhuha9pap

New Member
I'm trying to get twitter statuses displaying on my blog, however I cannot get the time each status is created at to display the way in which I desire. Here is how it is being printed now:\[code\]Thu Aug 05 12:36:20 +0000 2010\[/code\]However I would like it to be displayed like this:\[code\]54 days ago\[/code\]How can I manage this with PHP preg_replace?Also at the moment I am using the twitter API to get the statuses. Is it better to use this method or an RSS feed? I would appreciate if anyone could help me out. Thanks
 
Back
Top