WeekDaysInRange ( startDate ; endDate ; weekDays )
Returns a list of only those dates in the specified range whose day-of-week is included in the weekDays parameter.
Average rating: 4.5 (48 votes) Log in to vote
Michael Horak - Show more from this author
*COMMENT Visual Realisation |
03/05/2006
03/11/2006
03/12/2006
03/18/2006
03/19/2006
03/25/2006
03/26/2006
(if current date format is "mm/dd/yyyy")
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns a list of only those dates in the specified range whose day-of-week is included in the weekDays parameter.
The weekDays parameter requires a list of days-of-week (as numbers), separated by carriage returns. For example "1¶7" indicates Sundays and Saturdays.
This formula:
WeekDaysInRange ( Date ( 3 ; 1 ; 2006 ) ; Date ( 4 ; 0 ; 2006 ) ; "1¶7" )
returns all Sundays and Saturdays in the month of March, 2006.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.