请问问题出在哪里,运行不出来
<head>
<title>注解</title>
<script language="javascript">
<!--对于不支持javascript的浏览器,以下皆是注解
function time()
{
now=new date();
year=now.getYear()-11+"年"
month=now.getMonth()+1+"月"
date=now.getDate()+"日";
hour=now.getHours()+"点"
min=getMinutes()+"分";
sec=now.getSeconds()+"秒";window.status=year+month+date+hour+min+sec;
}//-->
</script>
</head>
<body>
若要知道现在时间,请按下面这个按钮,<br>
则时间会显示在状态行上。<br>
<form>
<input name="showtime" type=button
value="显示系统时间" onClick="time()">
</form>
</body>
</html>
<head>
<title>注解</title>
<script language="javascript">
<!--对于不支持javascript的浏览器,以下皆是注解
function time()
{
now=new date();
year=now.getYear()-11+"年"
month=now.getMonth()+1+"月"
date=now.getDate()+"日";
hour=now.getHours()+"点"
min=getMinutes()+"分";
sec=now.getSeconds()+"秒";window.status=year+month+date+hour+min+sec;
}//-->
</script>
</head>
<body>
若要知道现在时间,请按下面这个按钮,<br>
则时间会显示在状态行上。<br>
<form>
<input name="showtime" type=button
value="显示系统时间" onClick="time()">
</form>
</body>
</html>
<title>注解 </title>
<script language="javascript">
<!--
function timeset()
{
now=new Date();
year=now.getFullYear()-11+"年"
month=now.getMonth()+1+"月"
date=now.getDate()+"日";
hour=now.getHours()+"点"
min=now.getMinutes()+"分";
sec=now.getSeconds()+"秒"; window.status=year+month+date+hour+min+sec;
} //-->
</script>
</head>
<body>
若要知道现在时间,请按下面这个按钮, <br>
则时间会显示在状态行上。 <br>
<form>
<input name="showtime" type=button
value="显示系统时间" onClick="timeset()">
</form>
</body>
</html>
这样就ok了<html>
<head>
<title>注解 </title>
<script language="javascript">
<!--对于不支持javascript的浏览器,以下皆是注解
function time()
{
var now = new Date()
var year=now.getYear()-11+"年"
var month=now.getMonth()+1+"月"
var date=now.getDate()+"日";
var hour=now.getHours()+"点" ;
var min=now.getMinutes()+"分";
var sec=now.getSeconds()+"秒";
window.status=year+month+date+hour+min+sec;
} //-->
</script>
</head>
<body>
若要知道现在时间,请按下面这个按钮, <br>
则时间会显示在状态行上。 <br>
<form>
<input name="showtime" type=button
value="显示系统时间" onClick="time()">
</form>
</body>
</html>