Код:
var dow = new Array()
dow[0] = "Неделя"
dow[1] = "Понеделник"
dow[2] = "Вторник"
dow[3] = "Сряда"
dow[4] = "Четвъртък"
dow[5] = "Петък"
dow[6] = "Събота"
var moy = new Array()
moy[0] = "Януари"
moy[1] = "Февруари"
moy[2] = "Март"
moy[3] = "Април"
moy[4] = "Май"
moy[5] = "Юни"
moy[6] = "Юли"
moy[7] = "Август"
moy[8] = "Септември"
moy[9] = "Октомври"
moy[10] = "Ноември"
moy[11] = "Декември"
var now = new Date()
var year = now.getFullYear()
var month = now.getMonth()
var date = now.getDate()
var day = now.getDay()
var hours = now.getHours()
var minutes = now.getMinutes()
var seconds = now.getSeconds()
if (minutes <= 9) { minutes = "0"+minutes; }
if (seconds <= 9) { seconds = "0"+seconds; }
document.write(hours+":"+minutes+":"+seconds+" "+dow[day]+" "+date+" "+moy[month]+" "+year)