Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

This is a calculation that will do what you need:

code:


If(IsEmpty(Birthdate), "",

NumToText(

Year(Status(CurrentDate)) - Year(Birthdate) - Case(Status(CurrentDate)< Date(Month(Birthdate), Day(Birthdate), Year(Status(CurrentDate))), 1, 0)

)

& " Years, " &

NumToText(

Mod(Month(Status(CurrentDate)) - Month(Birthdate) + 12 - Case(Day(Status(CurrentDate)) < Day(Birthdate), 1, 0), 12)

)

& " Months, " &

NumToText(

Day(Status(CurrentDate)) - Day(Birthdate) + Case(Day(Status(CurrentDate)) >= Day(Birthdate), 0, Day(Status(CurrentDate)- Day(Status(CurrentDate))) < Day(Birthdate), Day(Birthdate), Day(Status(CurrentDate)- Day(Status(CurrentDate))))

)

& " Days"

)

Chuck

This topic is 8527 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.