ASP.NET网页显示当前时间的代码?

来源:百度知道 编辑:UC知道 时间:2024/05/23 03:19:51
我在网上搜了一下,也搜到些显示时间的代码,但是不知道放在网页中的哪个地方,我试着放了些代码 带是都是错误的?所以知道时间代码的兄弟随便讲讲 代码放哪里?

<HTML>
<HEAD>
<TITLE>Demos</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<SCRIPT language=Javascript>
function start(){
timer = new Array(10);
timer[1]= new Image(15, 19);
timer[1].src = "pics/1.gif";
timer[2] = new Image(15, 19);
timer[2].src = "pics/2.gif";
timer[3] = new Image(15, 19);
timer[3].src = "pics/3.gif";
timer[4] = new Image(15, 19);
timer[4].src = "pics/4.gif";
timer[5] = new Image(15, 19);
timer[5].src = "pics/5.gif";
timer[6] = new Image(15, 19);
timer[6].src = "pics/6.gif";
timer[7] = new Image(15, 19);
timer[7].src = "pics/7.gif";
timer[8] = new Image(15, 19);
timer[8].src = "pics/8.gif";
timer[9] = new Image(15, 19);
timer[9].src = "pics/9.gif";
timer[0] = new Image(15, 19);