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


Previous pageReturn to chapter overviewNext page

int = WeekdayOf(nDate)


This macro function returns the numerical value of the weekday corresponding to nDate. The return values range from 1 (Monday) to 7 (Sunday). If you wish to have the name of the weekday you should use EvalToken and the token '[dddd]'.


See also : DayOf, WeekNumberOf, MonthOf, YearOf.

Topic 105063 updated on 05-Mar-2002.
Topic URL: https://www.qppstudio.net/webhelp/index.html?weekdayof.htm