Du kan använda MySQL:s TIMESTAMPDIFF() funktion: SELECT TIMESTAMPDIFF(YEAR, dob, CURRENT_DATE) AS age FROM dle_users