Navigation: Macros > Macro Language > Built-in Functions > All Functions
WeekdayOf
int = WeekdayOf(nDate)
This macro function returns the weekday number, from 1 to 7, of the date nDate.
bIsWeekend = (WeekdayOf(n_TokenDate) in [6,7])
See also: DayOf, WeekNumberOf, MonthOf, YearOf.
Topic 105063, last updated on 18-Apr-2020