Please enable JavaScript to view this site.

 

bool = IsHolidayOccurence(nDate, nHolidayRuleId)

 

This macro function checks if a holiday of the specific holiday ID nHolidayRuleId occurs on the date nDate.

 

➢The holidays set containing the specified holiday rule of ID nHolidayRuleId must be included in one of the sets selected in the aeiou-Holidays property, or the Included Holidays property, of the current script's International ScriptLine, or in the Holidays (override) property of the current DiaryGridLine.

 

Note that this function resets and advances the search position used by GetNextDateForHolidayId. Calling it inside a loop that uses that function will disturb the loop’s search position cursor.

 

See also: HolidayOfSetOnDate and HolidayOfListOnDate.

 


Topic 110081, last updated on 17-Oct-2026