I have birth dates on my site in format 12.01.1980.
12.01.1980
$person_date (string) = Day.Month.Year
Want to add an oldness of the perso
You can use the DateTime class and its diff() method.
diff($bday); printf('%d years, %d month, %d days', $diff->y, $diff->m, $diff->d);
prints 29 years, 7 month, 20 days
29 years, 7 month, 20 days