<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!--  Author: www.cgiscript.net  -->

<!-- Begin

<!-- Get today's current date.
var now = new Date();

<!-- Array list of days.
var days = new Array('C. Nh&#7853;t','Th&#7913; Hai','Th&#7913; Ba','Th&#7913; T&#432;','Th&#7913; N&#259;m','Th&#7913; S&#225;u','Th&#7913; B&#7843;y');

<!-- Array list of months.
var months = new Array('Th&#225;ng Gi&#234;ng','Th&#225;ng Hai','Th&#225;ng Ba','Th&#225;ng T&#432;','Th&#225;ng N&#259;m','Th&#225;ng S&#225;u','Th&#225;ng B&#7843;y','Th&#225;ng T&#225;m','Th&#225;ng Ch&#237;n','Th&#225;ng M&#432;&#7901;i','Th&#225;ng M.M&#7897;t','Th&#225;ng Ch&#7841;p');

<!-- Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

<!-- Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

<!-- Join it all together
today =  days[now.getDay()] + ", " +
	 date + " " +
         months[now.getMonth()] + " " +
         
         (fourdigits(now.getYear())) ;

<!-- Print out the data.
document.write(today);

<!--  End -->