function getDate() {
	// Get today's current date.
	var now = new Date();
	// Array list of days.
	var days = new Array('Ch&#7911; Nh&#7853;t','Th&#7913; Hai','Th&#7913; Ba','Th&#7913; T&#432;','Th&#7913; N&#259;m','Th&#7913; Sáu','Th&#7913; B&#7843;y');
	// Array list of months.
	var months = new Array('1','2','3','4','5','6','7','8','9','10','11','12');
	// Calculate the number of the current day in the week.
	var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
	// Calculate four digit year.
	
	// Join it all together
	//today =  days[now.getDay()] + ", " + date + " tháng " + months[now.getMonth()] + " n&#259;m " + (fourdigits(now.getYear())) ;
	today = "Ng&agrave;y " + date + " tháng " + months[now.getMonth()] + ", " + (fourdigits(now.getYear())) ;
	
	return today;
}
	
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
}