BusinessHolidays ( calendarYear )
Returns a list of observed holidays in calendarYear
Average rating: 4.4 (28 votes) Log in to vote
Jeremy Bante https://github.com/jbante/ |
2/21/2011
5/30/2011
7/4/2011
9/5/2011
10/10/2011
11/11/2011
11/24/2011
12/26/2011
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This function returns a return-delimited list of the dates of observed holidays in the specified calendar year. This version of the function includes observed U.S. federal holidays. It should be modified to include any holidays observed by the users of each particular system.
Comments
Geoffrey Gerhard, Creative Solutions Incorporated Nov 17, 2023 |
||
Juneteenth was added as a US Federal Holiday in 2021. Add this to the List function to include that holiday in the result... // Juneteenth (19 June) Let ( [ ~date = Date ( 6 ; 19 ; holidayYear ); ~day = DayOfWeek ( ~date ) ]; Case ( ~day = 1 ; ~date + 1; // following Monday ~day = 7 ; ~date - 1; // previous Friday /* Else */ ~date ) ); |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.