Dates Flashcards

0
Q

Date:
True/False

.getMonth is zero indexed.

A

True.

To get the calendar date you must add 1 to the value returned by .getDate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Date:
True/False

.getYear() returns the current year as a 4 digit number.

A

False.

.getDate() is indexed by 1900.

today.getDate() + 1900 === 2014;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly