sandhurstUK
Must change my user name
- Local time
- Today, 23:25
- Joined
- Feb 15, 2002
- Messages
- 42
The following control source on a form field is designed to determine the age of a person:
=DateDiff("yyyy",[Birthday],Date())
However, a person with say a birthday of 20/07/1944 (UK date format) who is currently 58 years old, returns an age of 59 due to the fact that the calculation of age is only taking into account the year.
How then can you take the month into consideration, in order that in this example the person would not show as being 59 until his birthday on 20th July ? I have tried various methods of including the month in the formula but to no avail.
Thanks
=DateDiff("yyyy",[Birthday],Date())
However, a person with say a birthday of 20/07/1944 (UK date format) who is currently 58 years old, returns an age of 59 due to the fact that the calculation of age is only taking into account the year.
How then can you take the month into consideration, in order that in this example the person would not show as being 59 until his birthday on 20th July ? I have tried various methods of including the month in the formula but to no avail.
Thanks