根据数字返回工作日名称:
SELECT WeekdayName(3);
WeekdayName() 函数根据数字返回工作日名称。
WeekdayName(
number,
abbreviate,
firstdayofweek)
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:
|
工作于: | 从 Access 2000 |
---|
根据数字返回缩写的工作日名称:
SELECT WeekdayName(3, true);
根据数字返回缩写的工作日名称,并让星期一为一周的第一天:
SELECT WeekdayName(3, true, 2);
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!