Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

OK - what I want to do seems straightforward but it is driving me crazy! I have a start date and end date of an event. Say start date is : 19/1/05 and end date is 15/4/05. I want a field to store month values for all months this event covers. ie: January, February, March and April. These need to be separated by carriage returns (for formatting as a check box set). Any help is appreciated.

Try:

Let ( [

startMonth = Month ( StartDate ) ;

endMonth = Month ( EndDate ) ;

n = endMonth - startMonth + 12 * ( endMonth < startMonth ) + 1 ;

list =

"January

Comment, you only partially accounted for durations which cross into a new year. You will need to modify the formula to this:

Let ( [

startMonth = Month ( StartDate ) ;

endMonth = Month ( EndDate ) ;

n = endMonth - startMonth + 12 * ( endMonth < startMonth ) + 1 ;

list =

"January

Thanks for catching that. As long as we are at it - it's also possible to start in December 2003 and end in January 2005. So let's make it:

Let ( [

startMonth = 12 * Year ( StartDate ) + Month ( StartDate ) ;

endMonth = 12 * Year ( EndDate ) + Month ( EndDate ) ;

n = endMonth - startMonth + 1 ;

startPos = Month ( StartDate ) ;

list =

"January

  • Author

Thanks a lot guys (girls?) it worked a treat!!!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.