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

Recommended Posts

Posted

I am trying to take a date, that could be any day of a particular month, and use a calculation that will determine the first day of the month that the date falls in. For example if the user enters 6/16/06 the calculatin will result in 6/1/06 (the first day of the month). Please help if you can...

Posted

This should work as a calculation of type Date:

Date ( Month ( Entered Date ); 1; Year ( Entered Date ))

Where Entered Date is the Date field you want to alter.

Does this work?

Posted

But this seems a bit easier to write:

EnteredDate + 1 - Day ( EnteredDate )

Perhaps the following, could restore the image of being just slightly crafty:

EnteredDate - Day ( EnteredDate-1 )

It's political science here, not just one cut but two, it shows willingness to be executive even when it hurts :)

--sd

Posted

Yes, you're completely right about this. I didn't need to reference that many fields in the calculation.

Better solution,

M

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