int = WeekdayOf(nDate)
This macro function returns the weekday number of the date nDate.
The result ranges from 1 (Monday) to 7 (Sunday).
bIsWeekend = (WeekdayOf(n_TokenDate) in [6,7])
See also: DayOf, WeekNumberOf, MonthOf, YearOf.
Topic 105063, last updated on 10-Oct-2026