<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments[i];
}
var WeekArray = new
initArray("日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日");
var today = new Date();
var day = WeekArray[today.getDay()+1];
alert(day + " です!!");
//-->
</SCRIPT>
<BODY>
</BODY>
</HTML>
|