robthomas09
asked on
Crystal Reports 11 - Find person's age from date of birth - SQL Server 2005
Hello experts,
I have a need to display the customer's age in years. The field in the database is person.date_of_birth, and is an 8 character varchar that stores Date of Birth as yyyymmdd.
What is the best way to display the current age?
Something like:
DateDiff("yyyymmdd", CDate({person.date_of_birt h}), CurrentDate ), 0) + " yrs"
Thoughts?
Thanks!
I have a need to display the customer's age in years. The field in the database is person.date_of_birth, and is an 8 character varchar that stores Date of Birth as yyyymmdd.
What is the best way to display the current age?
Something like:
DateDiff("yyyymmdd", CDate({person.date_of_birt
Thoughts?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER