Brian Dunning's FileMaker Custom Functions

GetAfterNthDayOfWeek ( thedate ; DoW ; number )

Returns the date of the day of the week specified by the

  Be the first to rate this function Log in to vote

Satsuki Yoza   Satsuki Yoza - Show more from this author
Splash, Inc.
https://www.splash.jp

Share on Facebook Share on Twitter

  Sample input:
GetAfterNthDayOfWeek ("2022/8/20";"Sunday" ; 3 )
  Sample output:
2022/9/11

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns the date of the day of the week specified by the "number"-th "DOW" counting from "thedate"

In: thedate - a date
if empty, the function uses the current date
In: Dow - Day of week
works the same for fullnames and shorten day names
In: number - Day of week
Specifies the number of times to count the days of the week

Return type: Date

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: