PHP / MySQL date calculation

I am looking for a script which can calculate and tell age of a post. for example:
I have posted an article on 2011-12-30 and today is 2012-07-31 , I wanted it to say;
this article is; 1 year 11 months 20 days 55 minutes old (if less than 365 days then don’t show year).

did anyone know this type php script ? may be it’s available for free, but I am searching for it.

Post Reply

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody