GetYearlyHoliday (open)

Calculate on which day a specific yearly holiday will fall

Syntax

LOADLIB "wh::datetime.whlib";

DATETIME FUNCTION GetYearlyHoliday(INTEGER year, STRING holiday)

Parameters

INTEGER year

Year

STRING holiday

The holiday, one of easter, ascensionday, pentecost, christmas, newyear, newyearseve, nl-kingsday

Return value

DATETIME

Requested holiday