<html>
<head>
<title></title>
<script language="javascript">
function time() {
var now = new Date()
yea = now.getYear(); mon = now.getMonth()+1; day = now.getDate()
hou = now.getHours(); min = now.getMinutes(); sec = now.getSeconds()
document.fm_clock.clock.value= yea +"/"+ mon +"/"+
day +" "+ hou +":"+ min +":"+ sec
setTimeout('time()',1001)
}
</script>
</head>
<body onLoad="time()">
<form name="fm_clock" mathod=post>
<input name="clock" size=19>
</form>
</body>
</html>
|