title: How can I calculate the age of a person in year, month, days in PHP?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/453208/how-can-i-calculate-the-age-of-a-person-in-year-month-days">How can I calculate the age of a person in year, month, days?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to calculate the age of a person given the date of birth and the current date in years, months and days relative to the current date.</p>
  
  <p>For example:</p>
  
  <pre><code>&gt;&gt;&gt; calculate_age(2008, 01, 01)
  1 years, 0 months, 16 days
  </code></pre>