如果将星期一视为一周的开始,我们想知道今天星期几,正确的公式是
A: WEEKDAY(TODAY())
B: WEEKDAY(TODAY(),1)
C: WEEKDAY(TODAY(),2)
D: WEEKDAY(TODAY,2)
A: WEEKDAY(TODAY())
B: WEEKDAY(TODAY(),1)
C: WEEKDAY(TODAY(),2)
D: WEEKDAY(TODAY,2)
举一反三
- 有枚举类型的声明:enum WEEKDAY {Sun=7, Mon=1,Tue, Wed, Thu, Fri, Sat} workday;那么以下语句错误的是_____ A: enum WEEKDAY today=Fri;if( today >Fri) printf("Today is weekend!\n"); B: enum WEEKDAY today;today = (enum WEEKDAY)4;if( today >Fri) printf("Today is weekend!\n"); C: enum WEEKDAY today=Fri;tmp=today-2;if( tmp > 0) printf("Today is weekend!\n"); D: today = (enum WEEKDAY)4;if( today-2 > Fri) printf("Today is weekend!\n");
- 返回今天是星期几的函数表达式是() A: Weekday(day()) B: Weekday(#2011-6-6#) C: Day(date()) D: Weekday(date())
- 【单选题】以下______语句把日期对象rightnow的星期号赋给变量weekday。 A. var weekday = rightnow.getDate(); B. var weekday = rightnow.getDay(); C. var weekday = rightnow.getWeek(); D. var weekday = rightnow.getWeekday();
- Weekday函数中数字2 则1 至7 代表星期一到星期天
- 某单元格输入公式为”=CHOOSE(WEEKDAY(TODAY(),1),"星期一","星期二","星期三","星期四","星期五","星期六","星期日")”,则回车后单元格的值是()。 A: 星期一 B: 星期二 C: 星期三 D: 星期四 E: 星期五 F: 星期六 G: 星期日