JavaScript 現在時刻表示

[WEB][JavaScript 現在時刻表示]
<script language="JavaScript">
<!--
function Days()
{
  this[0] = "日"; this[1] = "月"; this[2] = "火"; this[3] = "水";
  this[4] = "木"; this[5] = "金"; this[6] = "土";
}
  
function Clock()
{

  var now = new Date();
  var yr  = now.getYear();
  var mn  = now.getMonth() + 1;
  var dt  = now.getDate();
  var dy  = now.getDay();
  var hh  = now.getHours();
  var mm  = now.getMinutes();
  var ss  = now.getSeconds();

  var fyr = (yr < 1900) ? 1900 + yr : yr;

  var dys = new Days();
  var dyj = dys[dy];

  var msg  = fyr + "年" + mn + "月" + dt + "日" + "(" + dyj + ") ";
      msg +=  hh + "時" + mm + "分" + ss + "秒";

  document.clockForm.clock.value = msg;
}

document.write('<FORM name="clockForm">');
document.write('<INPUT size="38" type="text" name="clock">');
document.write('</FORM>');
setInterval("Clock()",1000);
//-->
</script>