Multiple choice

Which of the following functions returns the date of the Date object?

  1. Date()

  2. getDate()

  3. getDay()

  4. getMonth()

  5. getYear()

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

It returns the date of a Date object (from 1 - 31).