date | (Date) Date |
---|---|
firstdayofweek | [optional] (Integer) Specifies the first day of the week (values see VBScript Date and Time constants). If not set, then vbSunday is assumed. |
Dim tDate, nWeekday
tDate = #October 19, 2017#
nWeekday = Weekday(tDate) 'nWeekDay contains 6 because tDate represents a Friday