// Date
now = new Date();
day = now.getDate();
month = now.getMonth();
year = now.getYear();
function suff() {
	suffix = "th"
	if (now.getDate() == 1){suffix = "st";}
	if (now.getDate() == 21){suffix = "st";}
	if (now.getDate() == 31){suffix = "st";}
	if (now.getDate() == 2){suffix = "nd";}
	if (now.getDate() == 22){suffix = "nd";}
	if (now.getDate() == 3){suffix = "rd";}
	if (now.getDate() == 23){suffix = "rd";}
	return suffix;
}
function monthly() {
	if (now.getMonth() == 0){correct = "January";}
	if (now.getMonth() == 1){correct = "February";}
	if (now.getMonth() == 2){correct = "March";}
	if (now.getMonth() == 3){correct = "April";}
	if (now.getMonth() == 4){correct = "May";}
	if (now.getMonth() == 5){correct = "June";}
	if (now.getMonth() == 6){correct = "July";}
	if (now.getMonth() == 7){correct = "August";}
	if (now.getMonth() == 8){correct = "September";}
	if (now.getMonth() == 9){correct = "October";}
	if (now.getMonth() == 10){correct = "November";}
	if (now.getMonth() == 11){correct = "December";}
	return correct;
}
if (year < 2000) {year = year + 1900;}	
document.write(monthly() + " " + now.getDate() + suff() + " " + year)

