锘?/ JavaScript Document
var enabled = 0; today = new Date();
var day; var date;
if(today.getDay()==0) day = "鏄熸湡鏃 "
if(today.getDay()==1) day = "鏄熸湡涓€ "
if(today.getDay()==2) day = "鏄熸湡浜 "
if(today.getDay()==3) day = "鏄熸湡涓 "
if(today.getDay()==4) day = "鏄熸湡鍥 "
if(today.getDay()==5) day = "鏄熸湡浜 "
if(today.getDay()==6) day = "鏄熸湡鍏 "
document.fgColor = " FF0072";
date1 =(today.getYear()) + "骞? + (today.getMonth() + 1 ) + "鏈? + today.getDate() + "鏃 " ;
date2 = day ;
document.write(date1);
document.write(date2);
document.write("");
var now,hours,minutes,seconds,timeValue;
function showtime(){
now = new Date();
hours = now.getHours();
minutes = now.getMinutes();
seconds = now.getSeconds();
timeValue = (hours >= 12) ? "
涓嬪崍" : "
涓婂崍";
timeValue += hours+ ":";
timeValue += ((minutes < 10) ? "0" : "") + minutes + ":";
timeValue += ((seconds < 10) ? "0" : "") + seconds + "";
clock.innerHTML = timeValue;
setTimeout("showtime()",100);
}