81,122
社区成员




<html>
<head>
<script type="text/javascript">
function startClock()
{
setInterval(getTime, 1000);
}
function getTime()
{
var now = new Date();
document.getElementById('clock').value = now.getFullYear()
+ "-" + (now.getMonth() + 1)
+ "-" + now.getDate()
+ " " + now.getHours()
+ ":" + now.getMinutes()
+ ":" + now.getSeconds();
}
</script>
</head>
<body onload="startClock()">
<input id="clock" />
</body>
</html>