today = new Date(); 
weekday = today.getDay();
if (weekday == 6) document.write('Th&#7913; B&#7843;y');
if (weekday == 0) document.write('Ch&#7911; Nh&#7853;t');
if (weekday == 1) document.write('Th&#7913; Hai');
if (weekday == 2) document.write('Th&#7913; Ba');
if (weekday == 3) document.write('Th&#7913; T&#173;&#432;');
if (weekday == 4) document.write('Th&#7913; N&#259;m');
if (weekday == 5) document.write('Th&#7913; S&#225;u');
document.write(' ng&#224;y ');
date = today.getDate(); 
document.write(date); 
month = today.getMonth();
if (month == 0) document.write('/01');if (month == 1) document.write('/02');if (month == 2) document.write('/03');
if (month == 3) document.write('/04');if (month == 4) document.write('/05');if (month == 5) document.write('/06');
if (month == 6) document.write('/07');if (month == 7) document.write('/08');if (month == 8) document.write('/09');
if (month == 9) document.write('/10');if (month == 10) document.write('/11');if (month == 11) document.write('/12');
year=today.getYear();
if (year <= 1888) 
document.write ('/',1900+year);
else document.write ('/',year);