K
KRISH
Hi!
Everybody.
I am getting incorrect result while calculting the
difference of two dates. Actually I want to calculate age
on say 1st Nov, 2003 of a person whose date of birth is
11th Feb 1967.
I used
Format((CDate(DLookup("[Age
on]", "Calculations", "[Programme]='" & Me.Programme
& "'")) - CDate(Me.DateOfBirth)), "mm-dd-yy")
gives 09-19-36 (19days 9months 36 years) actually
result is 20days 8months 36 years. It is ignoring one day
in the above given Nov month.
Any help is appreciable.
Krish
Everybody.
I am getting incorrect result while calculting the
difference of two dates. Actually I want to calculate age
on say 1st Nov, 2003 of a person whose date of birth is
11th Feb 1967.
I used
Format((CDate(DLookup("[Age
on]", "Calculations", "[Programme]='" & Me.Programme
& "'")) - CDate(Me.DateOfBirth)), "mm-dd-yy")
gives 09-19-36 (19days 9months 36 years) actually
result is 20days 8months 36 years. It is ignoring one day
in the above given Nov month.
Any help is appreciable.
Krish