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 Calculation

Featured Replies

I need a calculation that will return the day number (1st, 2nd, etc) for the first Monday in a given month (e.g. an input of 9/2017 would return "4")

Any help is gratefully appreciated.

Edited by John Chamberlain
correction

You could have deduced this from the answer to your previous question. The date of the first Monday in a given month is =

Let ( [
firstDayOfMonth = Date ( Month ; 1 ; Year ) ;
diff = 2 - DayOfWeek ( firstDayOfMonth ) 
] ;
firstDayOfMonth + Mod ( diff ; 7 )
)

 

  • Author

Thanks for your help.

I never saw an answer to my previous question because, even though I checked the "Notify me of replies" box, no email was ever sent.

I checked that same box for this question and no message came through for your answer either.

Create an account or sign in to comment

Similar Content

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.