js获取当前日期、星期、时间
<SCRIPT> function Refresh(){ Time.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay()); setTimeout("Refresh()",1000); } var timer=setTimeout("Refresh()",1000); </SCRIPT> <DIV style="background-color:#eeeeee" id="Time"></DIV>