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

Recommended Posts

Posted

I am aware that FileMaker can modify dates, for example, fora date a year later:

(date + 365).

However, in the case of a month later:

(date + 30)

does not return the same day a month later.

Is there another way to calculate this requirement?

Posted

Do you mean this?

Date ( Month ( AnyDate ) + 1 ; Day ( AnyDate ) ; Year ( AnyDate ) )

Lee

Posted (edited)

However, in the case of a month later: (date + 30)

does not return the same day a month later. Is there another way to calculate this requirement?

You are missing the point by Daniele (although his example didn't show it) and Michael (Comment):

If the start is 1/31/2010, one month later would be 2/31/2010 which FM would translate to 3/3/2010 (or 3/2 if a leap year). You must define the rules on how the calculation should handle the difference when the number of days in the result month is shorter than the number of days in the beginning date. Do you want the last day of the SAME month or do you want it to run into the next month by (up to) 3 days?

Edited by Guest
Posted

Thanks Loretta -- but I did get it, that; why I changed the day ...

Nonetheless, you did provide me he answer to my next question and I thank you for that!

Posted

Change the requirement to specify an explicit number of days.

There is a reason why some warranties are specified as 30 days or 60 days. It avoids all confusion and ambiguity.

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