Retrieve the name of the weekday corresponding to a numeric value.
SELECT WeekdayName(3); |
The WeekdayName() function retrieves the weekday name based on a numeric value.
WeekdayName(number, abbreviate, firstdayofweek) |
Parameter |
Description |
number |
Required. A numeric value ranging from 1 to 7, representing the day of the week. |
abbreviate |
Optional. A Boolean parameter where:
|
firstdayofweek |
Optional. Specifies the starting day of the week with the following options:
|
WORKS IN |
From Access 2000 |
Retrieve the abbreviated weekday name corresponding to a numeric value.
SELECT WeekdayName(3, true); |
Retrieve the abbreviated weekday name based on a numeric value, using Monday as the first day of the week.
SELECT WeekdayName(3, true, 2); |