Solved

Robin Maintains a Web Page for Updating the Metro Timings  var this Day = new Date ("May 23, 2018 14:35:05"); \text { var this Day = new Date ("May 23, } 2018 \text { 14:35:05"); }

Question 65

Multiple Choice

Robin maintains a web page for updating the metro timings in the city. He would like the website to display the present day’s schedule. To do this, Robin writes a code that includes an object to retrieve the day of the week and then loads the appropriate data into the page.


-Robin includes an expression to the code,
 var this Day = new Date ("May 23, 2018 14:35:05") ; \text { var this Day = new Date ("May 23, } 2018 \text { 14:35:05") ; }
Identify the value for the month that will be displayed on the web page by using thisDay.getMonth() method.


A) -35
B) -4
C) -14
D) -3

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions