U kunt MySQL's TIMESTAMPDIFF() functie: SELECT TIMESTAMPDIFF(YEAR, dob, CURRENT_DATE) AS age FROM dle_users