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

Recommended Posts

Posted

Hello,

I currently have the following calculation: If (Item Received = "1"; Get (CurrentDate)), i.e. when I click a checkbox, the field with this calculation displays the current date.

Is it possible to modify this calculation so that the date I get when I click the checkbox is the last day of the current month? For example, I check the box on May 3, 2012 and the field displays "May 31, 2012." Thank you!

Posted

The Date() function has the property that the 0th day of the month is the last day of the previous month. So the calc would be:

Date( Month( Get( CurrentDate ) ) + 1 ; 0 ; Year( Get( CurrentDate ) ) )

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