返回今天是星期几的函数表达式是()
A: Weekday(day())
B: Weekday(#2011-6-6#)
C: Day(date())
D: Weekday(date())
A: Weekday(day())
B: Weekday(#2011-6-6#)
C: Day(date())
D: Weekday(date())
举一反三
- 如果将星期一视为一周的开始,我们想知道今天星期几,正确的公式是 A: WEEKDAY(TODAY()) B: WEEKDAY(TODAY(),1) C: WEEKDAY(TODAY(),2) D: WEEKDAY(TODAY,2)
- 【单选题】以下______语句把日期对象rightnow的星期号赋给变量weekday。 A. var weekday = rightnow.getDate(); B. var weekday = rightnow.getDay(); C. var weekday = rightnow.getWeek(); D. var weekday = rightnow.getWeekday();
- 执行下述语句后的结果是enum weekday {sun, mon=3, tue, wed, thu}; enum weekday day; day = wed; printf("%d ",day); A: 5 B: 3 C: 4 D: 编译时出错
- 日期型数据2019/9/10录入在D3单元格中,返回结果是“星期二”的是( )。 A: =WEEKDAY(D3,1) B: =TEXT(WEEKDAY(D3,1),"AAAA") C: =TEXT(WEEKDAY(D3,1),"DDDD") D: =WEEKDAY(D3,2)
- 以下程序的输出结果为_________。 #include [stdio.h] int main() {enum Weekday{sun=7,mon=1,tue,wed,thu,fri,sat}; enum Weekday day=wed; printf("%d\n",day); } A: 2 B: 3 C: 4 D: 5