Hi, I want to calculate age of the person using this code
<?php
/*** a date before 1970 ***/
$dob = strtotime("april 20 1961");
/*** another date ***/
$tdate = strtotime("june 2 2009");
/*** show the date ***/
echo getAge( $dob, $tdate );
?>
but it gives error Fatal error: Call to undefined function getage()