nowyoubi = new Array("日","月","火","水","木","金","土");
nowdata = new Date();
nowyear = nowdata.getYear()
nowmonth = nowdata.getMonth() + 1;
nowdate = nowdata.getDate();
nowday = nowdata.getDay();
nowhour = nowdata.getHours();
nowmin = nowdata.getMinutes();
nowsec = nowdata.getSeconds();
txt1 = nowyear + "年" + nowmonth + "月" + nowdate + "日";
txt2 = nowyoubi[nowday] + "曜日";
txt3 = nowhour + "時" + nowmin + "分" + nowsec + "秒";
txt = txt1 + " " + txt2 + " " + txt3;
document.write( txt );