Macros > Macro Language > Built-in Functions > All Functions (Alphabetical) >
bool = IsDayOfWeek(nDate, nWeekday)
This macro function returns true if the date nDate corresonds to the weekday nWeekday and false otherwise.
•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.
•nWeekdays is an integer, ranging from 1 (Monday) to 7 (Sunday).
See also : IsMonday, IsSunday, IsWeekend.