mrswombat Posted May 4, 2012 Posted May 4, 2012 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!
Vaughan Posted May 4, 2012 Posted May 4, 2012 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 ) ) )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now