Код:
   <HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!--
daylist = new Array("Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг",
"Пятница", "Суббота")
// -->
</SCRIPT>

</HEAD>
<BODY onUnload="spawntopfivewindow();" 
BGCOLOR="white">



<script language="Javascript">
<!--

FCNavbarResize();
// -->
</script>


<NOSCRIPT>
<BR><CENTER>Your browser doesn't support JavaScript.</CENTER>
</NOSCRIPT>
<BR><BR>
<FORM NAME="form1" onSubmit="tellday() ; return false">
<CENTER><TABLE BORDER="3" BORDERCOLOR="blue">
<TR BGCOLOR="#ef3800">
<TD><CENTER>Дата</CENTER></TD>
<TD><CENTER>Месяц</CENTER></TD>
<TD><CENTER>Год</CENTER></TD>
</TR>
<TR>
<TD>
<SELECT NAME="d">
<OPTION VALUE="1">1
<OPTION VALUE="2">2
<OPTION VALUE="3">3
<OPTION VALUE="4">4
<OPTION VALUE="5">5
<OPTION VALUE="6">6
<OPTION VALUE="7">7
<OPTION VALUE="8">8
<OPTION VALUE="9">9
<OPTION VALUE="10">10
<OPTION VALUE="11">11
<OPTION VALUE="12">12
<OPTION VALUE="13">13
<OPTION VALUE="14">14
<OPTION VALUE="15">15
<OPTION VALUE="16">16
<OPTION VALUE="17">17
<OPTION VALUE="18">18
<OPTION VALUE="19">19
<OPTION VALUE="20">20
<OPTION VALUE="21">21
<OPTION VALUE="22">22
<OPTION VALUE="23">23
<OPTION VALUE="24">24
<OPTION VALUE="25">25
<OPTION VALUE="26">26
<OPTION VALUE="27">27
<OPTION VALUE="28">28
<OPTION VALUE="29">29
<OPTION VALUE="30">30
<OPTION VALUE="31">31
</SELECT>

</TD>
<TD>
<SELECT NAME="m">
<OPTION VALUE="January">Январь
<OPTION VALUE="February">Февраль
<OPTION VALUE="March">Март
<OPTION VALUE="April">Апрель
<OPTION VALUE="May">Май
<OPTION VALUE="June">Июнь
<OPTION VALUE="July">Июль
<OPTION VALUE="August">Август
<OPTION VALUE="September">Сентябрь
<OPTION VALUE="October">Октябрь
<OPTION VALUE="November">Ноябрь
<OPTION VALUE="December">Декабрь
</SELECT>

</TD>
<TD><INPUT TYPE="TEXT" NAME="y" SIZE="6" MAXLENGTH="4" VALUE="1999"></TD>
</TR>
<TR>
<TD COLSPAN="3"><CENTER><INPUT TYPE="SUBMIT" VALUE="День недели?"></CENTER></TD>
</TR>
<TR>
<TD COLSPAN="3">
<CENTER>
<INPUT TYPE="TEXT" NAME="theday" SIZE="15" MAXLENGTH="9" onFocus="document.form1.theday.blur()">
</CENTER>
</TD>
</TR>
</TABLE>
</CENTER></FORM>

<SCRIPT LANGUAGE="JavaScript">
<!--
var m2, d2
currdate = new Date()
function tellday()
{
for (var i=0; i<31; i++)
{
if (document.form1.d[i].selected) d2 = i+1
}
for (var i=0; i<12; i++)
{
if (document.form1.m[i].selected) m2 = i
}
var date= new Date(document.form1.y.value,m2,d2)
document.form1.theday.value = daylist[date.getDay()]
}
// -->
</SCRIPT>
</BODY>