Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>Dynamic Date Display</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday") monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December") now = new Date // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR=WHITE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers document.write("<H1>Today is " + dayName[now.getDay()] + ", " + monName[now.getMonth()] + " " + now.getDate() + ".<\/H1>") // End hiding script from old browsers --> </SCRIPT> </BODY> </HTML>