What does the Date object's method getTime() return?
Date in DD-MM-YYYY format
Date in DD MON YYYY format
Date in MON, DD YYYY format
Number of milliseconds since January 1, 1970
Correct Answer : D
Which JavaScript object works with the dates?
Which JavaScript statement(s) is correct to create Date object(s) with new Date() constructor?
What will be the output of the following JavaScript code?
const currDate = new Date(); document.write(currDate);