Skip 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.

First Monday date calculation

Featured Replies

FM 12, Adv. We have our meetings on the first Monday of each month. I’m trying to create a calculation field that returns the date of the first Monday in the month following the current date (system date). For example, if the current date is June 3, 2016 it would return June 6, 2016. Or, if the current date is June 17, 2016 it would return July4, 2016. Any suggestions?

Try =

Let ( [
today = Get ( CurrentDate ) ;
monthStart = Date ( Month ( today ) ; 1 ; Year ( today ) ) ;
firstMon = monthStart + Mod ( 2 - DayofWeek ( monthStart ) ; 7 ) ;
nextMonthStart =  Date ( Month ( today ) + 1 ; 1 ; Year ( today ) ) ;
nextFirstMon = nextMonthStart + Mod ( 2 - DayofWeek ( nextMonthStart ) ; 7 ) 
] ;
If ( today < firstMon ; firstMon ; nextFirstMon )
)

Make sure the calculation is unstored.

 

Edited by comment

  • Author

Thanks, it works great.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.