<SCRIPT LANGUAGE="Javascript"> calendar = new Date(); day = calendar.getDay(); month = calendar.getMonth(); date = calendar.getDate(); year = calendar.getYear(); var dayname = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); var monthname = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ); document.write("<CENTER><font face=arial size=2>Below is a working sample of calendar with major US holidays<br><br><br>"); document.write("<TABLE><TR><TD align=middle><font face=verdana,arial size=2><b>"); document.write(dayname[day] + "</b>,<b> "); document.write(monthname[month] + " "); if (date < 10) document.write("0" + date + "</b>,<b> "); else document.write(date + "</b>,<b> "); if (year < 100) document.write("19" + year + " &nbsp;&nbsp;&nbsp;"); else if (year > 1999) document.write(year + " &nbsp;&nbsp;&nbsp;"); document.write("<font color=FF0000>"); if ((month == 0) && (date == 1)) document.write("New Years Day"); if ((month == 0) && (day == 1) && (date > 14) && (date < 23)) document.write("Martin Luther King's Birthday"); if ((month == 1) && (date == 12)) document.write("Lincoln's Birthday"); if ((month == 1) && (date == 14)) document.write("Valentine's Day"); if ((month == 1) && (day == 1) && (date > 14) && (date < 22)) document.write("President's Day"); if ((month == 1) && (date == 22) && (day == 1)) document.write("President's Day<BR>"); if ((month == 1) && (date == 22)) document.write("Washington's Birthday"); if ((month == 2) && (date == 17)) document.write("St. Patrick's Day"); if ((month == 3) && (day == 0) && (date > 0) && (date < 8)) document.write("Daylight Savings Time Begins"); if ((month == 4) && (day == 0) && (date > 7) && (date < 16)) document.write("Mother's Day"); if ((month == 4) && (day == 1) && (date > 24)) document.write("Memorial Day"); if ((month == 5) && (date == 14)) document.write("Flag Day"); if ((month == 5) && (day == 0) && (date > 15) && (date < 24)) document.write("Father's Day"); if ((month == 6) && (date == 4)) document.write("Independence Day"); if ((month == 8) && (day == 1) && (date > 0) && (date < 8)) document.write("Labor Day"); if ((month == 9) && (day == 1) && (date > 7) && (date < 16)) document.write("Columbus Day"); if ((month == 9) && (day == 0) && (date > 24) && (date < 31)) document.write("Daylight Savings Time Ends"); if ((month == 9) && (day == 0) && (date == 31)) document.write("Daylight Savings Time Ends<BR>"); if ((month == 9) && (date == 31)) document.write("Halloween"); if ((month == 10) && (date == 11)) document.write("Veteran's Day"); if ((month == 10) && (day == 4) && (date > 23) && (date < 30)) document.write("Thanksgiving"); if ((month == 10) && (date == 30) && (day == 4)) document.write("Thanksgiving"); if ((month == 11) && (date == 24)) document.write("Christmas Eve"); if ((month == 11) && (date == 25)) document.write("Christmas"); if ((month == 11) && (date == 31)) document.write("New Year's Eve"); document.write("<br></font></TD></TR></TABLE>"); </SCRIPT>