This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
WeekdayName Function
Returns a string indicating the specified day of the week.
WeekdayName(weekday, abbreviate, firstdayofweek)
Arguments
- weekday
- Required. The numeric designation for the day of the week. Numeric value of each day depends on setting of the firstdayofweek setting.
- abbreviate
- Optional. Boolean value that indicates if the weekday name is to be abbreviated. If omitted, the default is False, which means that the weekday name is not abbreviated.
- firstdayofweek
- Optional. Numeric value indicating the first day of the week. See Settings section for values.
Settings
The firstdayofweek argument can have the following values:
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 |
See Also
MonthName Function