Vous pouvez utiliser MySQL TIMESTAMPDIFF()
fonction :
SELECT TIMESTAMPDIFF(YEAR, dob, CURRENT_DATE) AS age FROM dle_users
Vous pouvez utiliser MySQL TIMESTAMPDIFF()
fonction :
SELECT TIMESTAMPDIFF(YEAR, dob, CURRENT_DATE) AS age FROM dle_users