// CurrentDate.js
//
// Change history
//
// Who	When	Why
// ===	=======	=============================================
// jmp  05jun09 copied from http://www.javascriptmall.com/jsc/jsC4Udate.htm and made callable
// jmp  04aug11 use full year 

function GetMonth(intMonth)
{
    var MonthArray = new Array("January", "February", "March",
                               "April", "May", "June",
                               "July", "August", "September",
                               "October", "November", "December") 
    return MonthArray[intMonth]; 	  	 
}

function getDateStr()
{
    var today = new Date()
    var year = today.getFullYear()
    var todayStr = today.getDate() + " " + GetMonth(today.getMonth())
    todayStr += " " + year
    return todayStr;
}

document.write(getDateStr());

