Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

MySQL Age Counter

select year(curdate())-year(dob) - (right(curdate(),5) < right(dob,5)) as age from your_table
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #MySQL #Age #Counter
ADD COMMENT
Topic
Name
1+7 =