Funzione NomegiornoSettimana() di MS Access
Esempio
Restituisce il nome del giorno della settimana in base a un numero:
SELECT WeekdayName(3);
Definizione e utilizzo
La funzione WeekdayName() restituisce il nome del giorno della settimana in base a un numero.
Sintassi
WeekdayName(number, abbreviate, firstdayofweek)
Valori dei parametri
Parameter | Description |
---|---|
number | Required. A value from 1 to 7, that represent the day of the week |
abbreviate | Optional. A Boolean value. True = the weekday name should be abbreviated. False = the weekday name should not be abbreviated. False is default |
firstdayofweek | Optional. Specifies the first day of the week.
Can be one of the following values:
|
Dettagli tecnici
Funziona in: | Da Access 2000 |
---|
Altri esempi
Esempio
Restituisce il nome abbreviato del giorno della settimana in base a un numero:
SELECT WeekdayName(3, true);
Esempio
Restituisci il nome abbreviato del giorno della settimana in base a un numero e lascia che lunedì sia il primo giorno della settimana:
SELECT WeekdayName(3, true, 2);