
var months = new Array(11);
var today = new Date();
var month = today.getMonth();
var date = today.getDate();

var year = today.getYear();
if (year <=999){
year = year +1900;
}
today = null;

months[0] = "Enero";
months[1] = "Febrero";
months[2] = "Marzo";
months[3] = "Abril";
months[4] = "Mayo";
months[5] = "Junio";
months[6] = "Julio";
months[7] = "Agosto";
months[8] = "Septiembre";
months[9] = "Octubre";
months[10] = "Noviembre";
months[11] = "Diciembre";

document.write(" " + date + " de " + months[month] + " de " + year);
