int = WeekStartOf(nDate,nWeekstartDay)
This macro function returns the date corresponding to the beginning of the week that contains nDate, using nWeekstartDay, which ranges from 1 (Monday) to 7 (Sunday), to define the beginning of the week.
See also: WeekStartOfMonth.
Topic 110006, last updated on 18-Apr-2020