Weekday(date, [firstdayofweek])
The firstdayofweek argument has these settings:
Constant | Value | Description |
---|---|---|
UseSystemDayOfWeek | 0 | Use the day of the week specified in your system settings for the first day of the week |
Sunday | 1 | Sunday (default) |
Monday | 2 | Monday |
Tuesday | 3 | Tuesday |
Wednesday | 4 | Wednesday |
Thursday | 5 | Thursday |
Friday | 6 | Friday |
Saturday | 7 | Saturday |
The Weekday function can return any of these values:
Constant | Value | Description |
---|---|---|
Sunday | 1 | Sunday |
Monday | 2 | Monday |
Tuesday | 3 | Tuesday |
Wednesday | 4 | Wednesday |
Thursday | 5 | Thursday |
Friday | 6 | Friday |
Saturday | 7 | Saturday |
If the Calendar property setting is Gregorian, the returned integer represents the Gregorian day of the week for the date argument. If the calendar is Hijri, the returned integer represents the Hijri day of the week for the date argument. For Hijri dates, the argument number is any numeric expression that can represent a date and/or time from 1/1/100 (Gregorian Aug 2, 718) through 4/3/9666 (Gregorian Dec 31, 9999).
Calendar Property | Date Function | Date Statement | Day Function | Month Function | Now Function | WeekdayName Function | Year Function