Convert datetime format from Mysql to a more friendly format like: "3 days 12 hours ago"
<p>i have some dates retrived using php from my mysql server in the conventional format: 2011-05-13 12:22:11 , how can i convert this to: 3 days and 12 hours ago. Thanks a lot!</p>
