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

3rd Friday of the Month

Featured Replies

Does anyone have a suggestion concerning how I can calculate the date of the 3rd Friday for a month.

Thank you.

Well, the 3rd friday will always land between the 15th and the 21st (inclusive). Now, you can calculate the correct date based on what day the first of the month is with this sort of scripting:


Date ( MonthNum; 21 - Mod(DayOfWeek( Date(MonthNum;1;2008)); 7); 2008)

Where MonthNum is a field with the number of the month you want in it. Check the attached file for an example.

test.zip

Edited by Guest
Added Example File

Well, here is another option which eliminates hard coding at all:

Let ( [

m = Month ( date ) ;

y = Year ( date ) ;

d = Date ( m ; 1 ; y )

] ;

d - Mod ( d ; 7 ) - 2 + 21

)

  • Author

Y'all are great!!!

Thank you for the quick response. I appreciate it very much.

  • 2 years later...

Well, here is another option which eliminates hard coding at all:

Let ( [

m = Month ( date ) ;

y = Year ( date ) ;

d = Date ( m ; 1 ; y )

] ;

d - Mod ( d ; 7 ) - 2 + 21

)

Something strange here.

It calculates fine except January 2011. When I put any date in January the formula tells that the 3rd Friday in January,11 is January, 14 2011. But it's the 2nd Friday.

Does somebody know why?

Try =

Let ( [

d = date - Day ( date ) + 1

] ;

d + Mod ( 6 - DayofWeek ( d ) ; 7 ) + 14

)

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.