Ver Mensaje Individual
  #4 (permalink)  
Antiguo 20/05/2002, 19:21
Gastón
 
Fecha de Ingreso: febrero-2002
Mensajes: 681
Antigüedad: 22 años, 2 meses
Puntos: 0
Re: Como pongo la fecha en html?????

Prueba con este en JavaScript>:

<script language="JavaScript">
days = new Array(7)
days[1] = "Domingo";
days[2] = "Lunes";
days[3] = "Martes";
days[4] = "Miércoles";
days[5] = "Jueves";
days[6] = "Viernes";
days[7] = "Sábado";
months = new Array(12)
months[1] = "Enero";
months[2] = "Febrero";
months[3] = "Marzo";
months[4] = "Abril";
months[5] = "Mayo";
months[6] = "Junio";
months[7] = "Julio";
months[8] = "Agosto";
months[9] = "Septiembre";
months[10] = "Octubre";
months[11] = "Noviembre";
months[12] = "Diciembre";
today = new Date(); day = days[today.getDay() + 1]
month = months[today.getMonth() + 1]
date = today.getDate()
year=today.getYear();
if (year < 2000)
year = year + 1900;
document.write ("<font size=-2 face='Tahoma, Arial, sans-serif' color=003399> "+ day +
", " + date + " de " + month + " del " + year + "</font>")
</script>


Comenta como te fue

<html><center><embed src="http://conozcasupc.tripod.com.ar/Banerr.swf" height=60 width=468>
</embed></center></html>