Brian Dunning's FileMaker Custom Functions

FindNextWeekday ( startDate ; dayofweeknumber )

Finds the next or previous week date from starting date

  Be the first to rate this function Log in to vote

Rob Poelking   Rob Poelking - Show more from this author
Excelisys, Inc.

Share on Facebook Share on Twitter

  Sample input:
FindNextWeekday ( Date ( 11 ; 6 ; 2018 ) ; -1 )
  Sample output:

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

with a given start date, calculates the date of the provided DayOfWeek
for example. FindNextWeekday ( Date ( 9 ; 7 ; 2016) ; 5 ) returns Thursday, 9/8/2016
Day of week is specified numerically from 1-7 starting from Sunday. Specifying
a negative day of week will return the previous date. FindNextWeekday ( Date ( 11 ; 6 ; 2018 ) ; -1 ) returns Sunday 11/4/2108.



Log in to post comments.


Note: these functions are not guaranteed or supported by 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 16 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: