<!--

// Store the date in a variable

d = new Date()

dateText = ""



// Get the current day and convert it to the name of the day

// Get the current month and convert it to the name of the month

monthValue = d.getMonth()

dateText += " "

if (monthValue == 0)

    dateText += "January"

if (monthValue == 1)

    dateText += "February"

if (monthValue == 2)

    dateText += "March"

if (monthValue == 3)

    dateText += "April"

if (monthValue == 4)

    dateText += "May"

if (monthValue == 5)

    dateText += "June"

if (monthValue == 6)

    dateText += "July"

if (monthValue == 7)

    dateText += "AUGUST"

if (monthValue == 8)

    dateText += "September"

if (monthValue == 9)

    dateText += "October"

if (monthValue == 10)

    dateText += "November"

if (monthValue == 11)

    dateText += "December"



// Get the current year; if it's before 2000, add 1900

if (d.getYear() < 2000) 

    dateText += " " + d.getDate() + ", " + (1900 + d.getYear())

else 

    dateText += " " + d.getDate() + ", " + (d.getYear())



// Write the greeting, the date, and the time to the page

document.write(dateText)

//-->