Du kan bruge MySQL's TIMESTAMPDIFF() funktion: SELECT TIMESTAMPDIFF(YEAR, dob, CURRENT_DATE) AS age FROM dle_users