In
this thread, I worked out a system to have MC calculate a person's age from the date of a photo. It's an excellent solution that I now use to return ages for all immediate family members.
Auto import applies all the birth dates to every photo it imports.
The "Age" field then checks to see if any family members have been tagged, and if so, continues to calculate their age at the time the photo was taken, and finally, applies formatting based on the returned result, and outputs a neat age string.
The whole thing relies on the following bit of code:
formatdate(math(now()-
([date,0]-[age-amiee-birthday,0]
)),elapsed)
More granular formatting is applied depending on the result of this expression.
The question is....
Why, when the expected formatted result would be 68 years or higher, it breaks.
Example:
Photo taken 8th June 2019 at 12:07:34
Birth Date: 13th April 1951 at 01:01:00
The maths above returns a value of: 18766.975463
Which MC's "formatdate(Elapsed)" outputs as "--35791394:4294967288"
The expected output should be 68 years.
Any ideas?