Skip to main content

IS_HOLIDAY

Returns True (1) if the provided date is a holiday

Example Usage

IS_HOLIDAY("2022-03-14") -> 0 // Pi Day, but not a holiday
IS_HOLIDAY("2022-05-30") -> 1 // Memorial Day

Overview

Function signature
IS_HOLIDAY(paydate, observe_weekday)

Category
Date

Return data type
bool

Arguments

NameDataTypeList Options                          Description
paydatedateThe date to test for being a holiday
observe_weekdayboolDetermines if weekend holidays should be observed on the nearest weekday