today=new Date();
 function initArray(){
   this.length=initArray.arguments.length
   for(var i=0;i<this.length;i++)
   this[i+1]=initArray.arguments[i]  }
   var d=new initArray(
     "星期日",
     "星期一",
     "星期二",
     "星期三",
     "星期四",
     "星期五",
     "星期六");
document.write(
     "<font style='font-size:9pt;font-family: 宋体'> ",
	 "现在时间是：",
     today.getYear(),"年",
     today.getMonth()+1,"月",
     today.getDate(),"日",
     d[today.getDay()+1],
     "</font>" ); 
/*
document.write('距龙舟节开幕还有<span id="ad" style="color:#FF0000"></span>');
function show_date_time(){
	window.setTimeout("show_date_time()", 1000);
	BirthDay = new Date("06-15-2010 09:00:00");
	today=new Date();
	timeold=(BirthDay.getTime()-today.getTime());
	if(timeold>0){
		sectimeold=timeold/1000
		secondsold=Math.floor(sectimeold);
		msPerDay=24*60*60*1000
		e_daysold=timeold/msPerDay
		daysold=Math.floor(e_daysold);
		e_hrsold=(e_daysold-daysold)*24;
		hrsold=Math.floor(e_hrsold);
		e_minsold=(e_hrsold-hrsold)*60;
		minsold=Math.floor((e_hrsold-hrsold)*60);
		seconds=Math.floor((e_minsold-minsold)*60);
		ad.innerHTML=daysold+"天"+hrsold+"小时"+minsold+"分"+seconds+"秒" ;
		
	}else{
		ad.innerHTML="正在火热进行中！" ;
	}
}
show_date_time();
*/