Command Line Retrieve Current Date
Within the body <SCRIPT> tags, just above the stop hiding line, enter the following command line that uses the getDay() method to extract the day of the week from the Today Variable and save it as a variable named WeekDay.
var Today = new Date();
You will now use the document.write() method to display the value of DishDesc(WeekDay) on your Web page. Copy the following code below the command lines you inserted above.
var spec = DishName (WeekDay);