Multiple choice

The function getHours() returns __________.

  1. the hour of the Date object from 1 - 24

  2. the minute of the Date object

  3. the hour of the Date object from 0 - 11

  4. the hour of the Date object from 0 - 23

  5. the hour of the Date object from 1 - 12

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This is the correct answer.