// Get today's current date.
	var now = new Date();

// Array list of days.
	var days = new Array('Chủ nhật','Thứ 2','Thứ 3','Thứ 4','Thư 5','Thứ 6','Thứ 7');
	//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();


function fourDigits(number)	{
	return ((number < 1000) ? number + 1900 : number);
}

//function displayDate() {
// Calculate four digit year.
	// Join it all together
	var today =  days[now.getDay()] + ' Ngày ' + date + '/' + months[now.getMonth()] + '/' + (fourDigits(now.getYear())) ;	
		 
		 // Print out the data.
	window.document.write('<span class = client_datetime>' + today + '</span>');
//}