• 2022-07-29
    Date对象的常用方法中,()方法能够返回日期中的天数。
    A: getDate()
    B: getDay()
    C: getdate()
    D: getday()
  • A

    内容

    • 0

      可以使用Date对象的以下哪个方法返回当前日期 A: getDate( ) B: getYear() C: getMonth() D: getTime()

    • 1

      在以下选项中,关于JavaScript的Date对象的方法描述正确的是( ) A: getDate( )方法能返回Date对象的一个月中的一天,其值为1~31 B: getMonth( )方法能返回Date对象的月份,其值为1~12 C: getDay( )方法能返回一周中星期数,其值为1~7 D: getYear( )方法可以返回4位年份,用于获取Date对象的年份

    • 2

      分析js代码,可以使用Date对象的( )方法返回当前日期( ) A: getDate( ) B: getYear( ) C: getMonth( ) D: getTime( )

    • 3

      在JavaScript 中,可以使用Date对象的()方法返回该对象的日期。(选一项) A: getDate B: getYea C: getMonth D: gerTime

    • 4

      在Javascript中,可以使用Date对象的()方法返回月份。 A: getDate B: getYear C: getMonth D: getTime