Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql age by birthdate

mysql> SELECT DATE_FORMAT(FROM_DAYS(DATEDIFF(now(),YourDateofBirth)), '%Y')+0 AS Age from AgeCalculationFromDatetime;
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #mysql #age #birthdate
ADD COMMENT
Topic
Name
3+9 =