date | (Date) Date |
---|---|
firstdayofweek | [optional] (Integer) Specifies first day of the week (values see VBScript date and time constants).
The default value is vbSunday (Sunday). |
Dim tDate, nWeekday
tDate = #October 19, 2017#
nWeekday = Weekday(tDate)
' nWeekDay contains 6 because tDate represents a Friday