judyray Posted January 23, 2005 Posted January 23, 2005 I find the age of a person by using the formula (Get ( CurrentDate )-Birthdate) / 365 The result is a number. The Birthdate is a date. If I use a birthdate of 2/5/1925, I get the answer 80.019 (+more decimals) It is not February yet, so the age should not be over 80 yet. This is a strange rounding error or is the basic calculation wrong? This is with FM PRO 7
comment Posted January 23, 2005 Posted January 23, 2005 The basic calculation is wrong. On average, there are 365.2425 days in a Gregorian year. So either use (Get ( CurrentDate )-Birthdate) / 365.2425 or see here for a more traditional age calculation.
Recommended Posts
This topic is 7313 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now