
function shortMonthArray() {
this[0] = "January"; this[1] = "February"; this[2] = "March"; this[3] = "April"; this[4] = "May"; this[5] = "June";
this[6] = "July"; this[7] = "August"; this[8] = "September"; this[9] = "October"; this[10] = "November"; this[11] = "December";
return (this);
}
function getlongYear(year){
year = d.getYear();
if (year < 1000)
year+=1900;
return year;
}

function writeDate(){
shortMonths = new shortMonthArray();
d = new Date();
day = d.getDate();
month = d.getMonth();
year = d.getYear();
str = shortMonths[month] + " " +day + " " +". " +getlongYear(year);
document.writeln(str);
}

// -->

