var day = new Array()
day[0] = "Sekmadienis"
day[1] = "Pirmadienis"
day[2] = "Antradienis"
day[3] = "Trečiadienis"
day[4] = "Ketvirtadienis"
day[5] = "Penktadienis"
day[6] = "Šeštadienis"
var month = new Array()
month[0] = "sausio"
month[1] = "vasario"
month[2] = "kovo"
month[3] = "balandžio"
month[4] = "gegužės"
month[5] = "birželio"
month[6] = "liepos"
month[7] = "rugpjūčio"
month[8] = "rugsėjo"
month[9] = "spalio"
month[10] = "lapkričio"
month[11] = "gruodžio"
theData = new Date()
theHour = theData.getHours()
theDay = theData.getDay()
theDate = theData.getDate()
theMonth = theData.getMonth()
theYear = theData.getYear()
document.writeln("&nbsp;" + day[theDay] + ", " + theYear + " " + month[theMonth] + " " + theDate + " d.")

