<!--
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************
// Get today's current date.
var now = new Date();
// Array list of months.
var months = new Array('JANUARY','FEBRUARY','MARCH','APRIL','MAY','JUNE','JULY','AUGUST','SEPTEMBER','OCTOBER','NOVEMBER','DECEMBER');
// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "" : "")+ now.getDate();
//calculate the suffix on the end of the date string.
if(date==1 || date==21 || date==31){
date=date+"st"
}else if(date==2 || date==22){
date=date+"nd"
}else if(date==3 || date==23){
date=date+"rd"
}else{
date=date+"th"
}
// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
}
// Join it all together
today =  date + " " +months[now.getMonth()] + " " +(fourdigits(now.getYear())) ;
// Print out the data.
document.write(today);  
//-->