Calculate Age from Date Of Birth

Submitted by:Jhon Smith

Date added:03 May, 2012

Category:MySQL

MySQL code example to calculate age from Date Of Birth

Tags: calculate age

Code Snippet:

SELECT FLOOR(DATEDIFF(CURRENT_DATE(), dob) / 365);
 
 

Comments