Date function

G

Guest

Dears,

Need help in populating the month and year after entering the date of birth
in a field. Tried below but only gives me the number of years

age = DateDiff("yyyy", [dob], Now()) + _
Int(Format(Now(), "mmdd") < Format([dob], "mmdd"))

any suggestion is appreciated

Thanks

Nicole
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top