The WeekdayName function returns the weekday name of a specified day of the week.
Parameter | Description |
---|---|
weekday | Required. The number of the weekday |
abbreviate | Optional. A Boolean value that indicates if the weekday name is to be abbreviated |
firstdayofweek | Optional. Specifies the first day of the week. Can take the following values:
|
Get the name of the 3rd day of the week:
The output of the code above will be:
Get the short name of the 3rd day of the week:
The output of the code above will be:
Get the name of the 3rd day of the week, where the first day is monday:
The output of the code above will be: