The Date Variable/Column you are comparing from the Date Range i.e.
Code:
LOOP Date# = DATE(1,1,2010) to DATE(12,31,2010)
CASE (Date# % 7)
OF 0 ! Sunday
Sundays# += 1
OF 6 ! Saturday
Saturdays# += 1
ELSE
IF <PublicHoliday> ! use your own method to find out if it is a public holiday
PublicHolidays# += 1
END
END
END
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.