[90] - 投稿者:a
<script language="JavaScript"><!-- function myFunc(){ myTbl = new Array("日","月","火","水","木","金","土"); myD = new Date();
myYear = myD.getYear(); myYear4 = (myYear < 2000) ? myYear 1900 : myYear; myMonth = myD.getMonth() 1; myDate = myD.getDate(); myDay = myD.getDay(); myHours = myD.getHours(); myMinutes = myD.getMinutes(); mySeconds = myD.getSeconds();
myMess1 = myYear4 "年" myMonth "月" myDate "日" myTbl[myDay] "曜日"; myMess2 = myHours "時" myMinutes "分" mySeconds "秒"; document.myForm.myFormDate.value = myMess1; document.myForm.myFormTime.value = myMess2; } // --></script> <input type="text" size="25" name="myFormDate"> <input type="text" size="25" name="myFormTime"> <script language="JavaScript">
(
2005年11月25日 (金) 15時03分 )
|
?A???o??
|