<% //Load the dayarray array dayarray = new Array(); dayarray[0] = "Sunday"; dayarray[1] = "Monday"; dayarray[2] = "Tuesday"; dayarray[3] = "Wednesday"; dayarray[4] = "Thursday"; dayarray[5] = "Friday"; dayarray[6] = "Saturday"; //Get the current date dateNow = new Date(); //Print today's day of the week iToday = dateNow.getDay(); sPrint = "Today is " + dayarray[iToday] + "."; Response.Write(sPrint + "
"); %>