Using Holidays Functions

Navigation:  Appendices > Macro Language > Built-in Functions > Holidays >

Using Holidays Functions

Previous pageReturn to chapter overviewNext page

Q++ has many built-in macro functions that let you go determine if there is a holiday on a given date and even, if necessary, go into the details of the Holidays table. The examples presented below are usually used to build charts of the holidays of the world to be used as information pages at the front or back of the dated section, such as in the example below.

 

In the sections below we will show examples that :

 

Determine if there is a holiday on a given date.

Iterate through all the holidays sets of a holidays list.

Get the date when a specific holiday occurs over many years.

 

The first example is not too complex and can be imitated by users. The second and third examples make use of holidays functions to have direct access to the holidays database and tend to be more complex.


Topic 108270 updated on 07-Mar-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?usingbuilt_inholidaysfunctions.htm