IsDayOfWeek

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

IsDayOfWeek

Previous pageReturn to chapter overviewNext page

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.


Topic 110080 updated on 04-Mar-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?isdayofweek.htm