MS Access MonthName()関数
例
数値に基づいて月の名前を返します。
SELECT MonthName(3);
定義と使用法
MonthName()関数は、数値に基づいて月の名前を返します。
構文
MonthName(number, abbreviate)
パラメータ値
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 |
技術的な詳細
で動作します: | Access2000から |
---|
その他の例
例
数値に基づいて月の省略名を返します。
SELECT WeekdayName(3, true);