var weekday = ["日", "一", "二", "三", "四", "五", "六"];
"星期"+weekday[now.getDay()];
return i<10? '0'+i : ''+i;
"星期"+weekday[now.getDay()];
return i<10? '0'+i : ''+i;
要灵活!不要死板!如果用setTimeout()要把setTimeout() 写在函数内并且要加window.onload=function(){FreshTime()}
如果用setInterval()直接在函数后面写setInterval()即可
如果用setInterval()直接在函数后面写setInterval()即可