var now = new Date();
now.setTime(now.getTime() - 13 * 24 * 60 * 60 * 1000);
var day = now.getDay();
var date = now.getDate();
var month = now.getMonth();
var year = now.getYear();
year += (year < 1900) ? 1900 : 0;

var days = new Array();
days[0] = "Domingo";
days[1] = "Segunda";
days[2] = "Terca";
days[3] = "Quarta";
days[4] = "Quina";
days[5] = "Sexta";
days[6] = "Sabado";

var months = new Array();
months[0] = "Janeiro";
months[1] = "Fevereio";
months[2] = "Marco";
months[3] = "Abril";
months[4] = "Maio";
months[5] = "Junho";
months[6] = "Julho";
months[7] = "Agosto";
months[8] = "Setembro";
months[9] = "Outubro";
months[10] = "Novembro";
months[11] = "Dezembro";

document.write(days[day] + ", " + date + " de " + months[month] + " de " + year);

