<html> <head> <title>暦計算 第2回</title> </head> <body> <script language="Javascript"> <!-- you = new Array('日','月','火','水','木','金','土'); now = new Date(); document.write('今日は',now.getYear(),'年',now.getMonth()+1,'月',now.getDate(),'日',you[now.getDay()],'曜日<br>'); document.write('時刻は',now.getHours(),'時',now.getMinutes(),'分',now.getSeconds(),'秒です。<br>'); //--> </script> </body> </html> |
セキュリティ保護のため、コンピュータにアクセスできるアクティブコンテンツは表示されないよう、Internet Explorer で制限されています。オプションを表示するには、ここをクリックしてください |
はじめに戻る |
第1回へ |
第3回へ |