标签:
function getDayofWeek() { var day = ""; var time = new Date(); var numOfWeek = time.getDay(); switch (numOfWeek) { case 0: day = "星期日"; break; case 1: day="星期一"; break; case 2: day = "星期二"; break; case 3: day = "星期三";