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 7238 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi there all you amazing geniouses (if thats correct)

I need a calc that will tell me how many days till a birthdate.

I have tried this (Get(CurrentDate)-BirthDate)/365.2425 but if the date is passed it does some strange things.

Any help will be greatly appreciated regards Ron

Posted

I didn't test this, but I think it should work:

Let([

Today=Get(CurrentDate);

A= Date(Month(Birthdate),Day(BirthDate),Year(Today))-Today;

B= Date(Month(Birthdate),Day(BirthDate),1+Year(Today))-Today];

Case(A>=0;A;:)

If today is your birthday, the formula will give you a value of zero, if you want it to give 365, then change the last line to:

Case(A>0;A;:)

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