Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7313 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.