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

Recommended Posts

Posted

Try this ( calculation, unstored, NUMBER )

Let ( d = Get ( CurrentDate ) ;
Month ( Date ( Month ( d ) + 1 ; 1 ; Year ( d ) ) )
)

With dates, it helps to use real dates so they span the 12-month barrier easier.


Oh wait, you can cross the month barrier using Mod()

Mod ( Month ( Get ( CurrentDate ) )  ; 12 ) + 1
  • Like 2
Posted

Trying to calculate next month in a field with the following calculation

Month (Get (CurrentDate) + 1 

 

Not working :(

You're missing the right parenthesis before "+1"

Posted

Nice spotting of it, Rick!  

 

Unfortunately it can still break if the month is December.  It will say it is month 13 which is why I just went ahead and created the alternatives.  It has caught me before!!  :-)

Posted

Nice spotting of it, Rick!  

 

Unfortunately it can still break if the month is December.  It will say it is month 13 which is why I just went ahead and created the alternatives.  It has caught me before!!  :-)

Yup.

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