Funzione MS Access MonthName()
Esempio
Restituisci il nome del mese in base a un numero:
SELECT MonthName(3);
Definizione e utilizzo
La funzione MonthName() restituisce il nome del mese in base a un numero.
Sintassi
MonthName(number, abbreviate)
Valori dei parametri
Parameter | Description |
---|---|
number | Required. A value from 1 to 12, that represent the month |
abbreviate | Optional. A Boolean value. True = the month name should be abbreviated. False = the month name should not be abbreviated. False is default |
Dettagli tecnici
Funziona in: | Da Access 2000 |
---|
Altri esempi
Esempio
Restituisce il nome abbreviato del mese in base a un numero:
SELECT WeekdayName(3, true);