// JavaScript Document
today = new Date();
var theyear = today.getYear();
var themonth = today.getMonth()+1;
var thedate = today.getDate();
var theday = today.getDay();
  if(theyear < 2000)
{
  theyear+=1900;
}
if(themonth == 1) themonth="Jan";
if(themonth == 2) themonth="Feb";
if(themonth == 3) themonth="Mar";
if(themonth == 4) themonth="Apr";
if(themonth == 5) themonth="May";
if(themonth == 6) themonth="Jun";
if(themonth == 7) themonth="Jul";
if(themonth == 8) themonth="Aug";
if(themonth == 9) themonth="Sep";
if(themonth == 10)themonth="Oct";
if(themonth == 11)themonth="Nov";
if(themonth == 12)themonth="Dec";
if(theday == 1)   theday="Monday";
if(theday == 2)   theday="Tuesday";
if(theday == 3)   theday="Wednesday";
if(theday == 4)   theday="Thursday";
if(theday == 5)   theday="Friday";
if(theday == 6)   theday="Saturday";
if(theday == 7)   theday="Sunday";
document.write(theday,"&nbsp;",".","&nbsp;",themonth,"&nbsp;",thedate,"&nbsp;",".","&nbsp;",theyear);

