/ Published in: PHP
This function gets birth date as an argument and it returns the age of the person; it's very useful when building communities or social media sites.
URL: http://www.apphp.com/index.php?snippet=php-calculate-age-using-birth-date