Link to home
Start Free TrialLog in
Avatar of al4629740
al4629740Flag for United States of America

asked on

Find records where age < 18

I am using vb6.  Is this the correct code to find all records of my students who are greater than or equal to 18 years of age, based on the month?

(DateDiff(Month, BirthDate , CurrentDate) / 12) >= 18
ASKER CERTIFIED SOLUTION
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial