hi,
is there a way to use modula or something like that to break age into years and month accurately in a single expression in access sql? i'm using
int(test_dt - dob)/365.25 to get the year, but it's rounding up. so somebody 12 years and 9 months old, gets 13 years for yr value. and i'm calculating month:
int(test_dt - dob)/ 30.41
which somewhat is accurate. but the year part is what i'm having problem.
thanks.
is there a way to use modula or something like that to break age into years and month accurately in a single expression in access sql? i'm using
int(test_dt - dob)/365.25 to get the year, but it's rounding up. so somebody 12 years and 9 months old, gets 13 years for yr value. and i'm calculating month:
int(test_dt - dob)/ 30.41
which somewhat is accurate. but the year part is what i'm having problem.
thanks.