Solved

Case-Based Critical Thinking Questions Case 9-2 Robin Maintains a Web

Question 57

Multiple Choice

Case-Based Critical Thinking Questions Case 9-2 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. Identify an expression that Robin must use to define the current date on the web page.


A) new Date(year, month, day, hrs, mins, secs) ;
B) new date("hrs", "mins", "secs", "day", "month", "year") ;
C) this.day( hrs, mins, secs, year, month, day ) ,
D) this Day("day", "month", "hrs", "mins", "secs", "year") ,

Correct Answer:

verifed

Verified

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

Related Questions