var enabled = 0; today = new Date(); var day; var date;var month;var days; 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 = ""; if((today.getMonth()+1)>9) { month="-"+(today.getMonth() + 1) ; } else { month="-0"+(today.getMonth() + 1 ); } if((today.getDate()+1)>9) { days="-"+today.getDate() ; } else { days="-0"+(today.getDate()); } date=(today.getYear()/1000<1?today.getYear()+1900:today.getYear())+""+month+days+" "+day; document.write("" + date + "");