<!--
/*
Get current date 

(c) 24 June 2004 John C Penman, Craiglockhart Software
jcp@craiglockhart.com
*/  
// declarations    
    var Months = new Array;
    var Month = " ";
    var Max = 11;
    var i = 0;

// initialization
    Months[0]  = "January";
    Months[1]  = "February";    
    Months[2]  = "March";    
    Months[3]  = "April";
    Months[4]  = "May";
    Months[5]  = "June";    
    Months[6]  = "July";    
    Months[7]  = "August";
    Months[8]  = "September";
    Months[9]  = "October";    
    Months[10] = "November";    
    Months[11] = "December";

    MonNo = new Array("0","1","2","3","4","5","6", "7", "8", "9", "10", "11");
// Get today's date
    Today = new Date();

    Month = Today.getMonth();
    while(i < Max)
{
    if(Month == MonNo[i])
      break;
    i++;
}

    document.write(Today.getDate() + " " + Months[i] + " " + Today.getYear());

// --> 
