now = new Date();
day = new Object();
month = new Object();
day[0] = "Domingo"; day[1] = "Segunda"; day[2] = "Terça"; day[3] = "Quarta"; day[4] = "Quinta"; day[5] = "Sexta"; day[6] = "Sábado"; month[0] = "Janeiro"; month[1] = "Fevereiro"; month[2] = "Março"; month[3] = "Abril"; month[4] = "Maio"; month[5] = "Junho"; month[6] = "Julho"; month[7] = "Agosto"; month[8] = "Setembro"; month[9] = "Outubro";  month[10] = "Novembro"; month[11] = "Dezembro"; year = now.getYear(); if (year < 1000) year += 1900;
document.write(day[now.getDay()] + ", " + now.getDate() + " de " + month[now.getMonth()] + " de " + year);