Age in Years for Given Birthdate


/ Published in: MySQL
Save to your folder(s)

Given a birthdate in @dob, here are two simple formulae for age in years :
(the second formulae is for age in years to two decimal places, ignoring day of month)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.