Você pode usar o TIMESTAMPDIFF() do MySQL função: SELECT TIMESTAMPDIFF(YEAR, dob, CURRENT_DATE) AS age FROM dle_users