Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
5171 Points
833 Posts
Feb 16, 2012 10:49 PM|LINK
Hello Mate,
You could calculate like this
Dim now = DateTime.Today Dim YearsOld = now.Year - DOB.Year If DOB > now.AddYears(-YearsOld) Then YearsOld = YearsOld - 1
Ramesh T
Contributor
5171 Points
833 Posts
Re: Calculating Age
Feb 16, 2012 10:49 PM|LINK
Hello Mate,
You could calculate like this