<SCRIPT LANGUAGE="JavaScript">
DaysofWeek = new Array()
DaysofWeek[0]="Sunday"
DaysofWeek[1]="Monday"
DaysofWeek[2]="Tuesday"
DaysofWeek[3]="Wednesday"
DaysofWeek[4]="Thursday"
DaysofWeek[5]="Friday"
DaysofWeek[6]="Saturday"
Months = new Array()
Months[0]="January"
Months[1]="February"
Months[2]="March"
Months[3]="April"
Months[4]="May"
Months[5]="June"
Months[6]="July"
Months[7]="August"
Months[8]="September"
Months[9]="October"
Months[10]="November"
Months[11]="December"
RightNow = new Date()
var day = DaysofWeek[RightNow.getDay()]
var date = RightNow.getDate()
var Month = Months[RightNow.getMonth()]
var Year = RightNow.getFullYear()
if (date == 1 || date == 21 || date == 31)
{ender = "<SUP>st</SUP>"}
else
if (date == 2 || date == 22)
{ender = "<SUP>nd</SUP>"}
else
if (date == 3 || date == 23)
{ender = "<SUP>rd</SUP>"}
else
{ender = "<SUP>th</SUP>"}
document.write("Today is " +day+ " " +Month+ " " +date+ ender+ ", " +Year+ ".")
</SCRIPT>