IsHolidayOccurence

Navigation:  Appendices > Macro Language > Built-in Functions > All Functions (Alphabetical) >

IsHolidayOccurence

Previous pageReturn to chapter overviewNext page

bool = IsHolidayOccurence(nDate, nHolidayRuleId)

 

This macro function returns true if there is an occurrence of the specific recurring holiday nHolidayRuleId on the date nDate.

 

Remember that the dates nDate is an integer type date. If you wish to construct a date from a day-month-year triplet, you should use the EncodeDate function.

To obtain the nHolidayRuleId look at the top right of the Holidays Manager.

 

This function is specific to a single holiday rule, and will usually be false every day of the year except one.


Topic 110081 updated on 06-Mar-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?isholidayoccurence.htm