Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/07/2002, 15:18
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 5 meses
Puntos: 61
Re: para poner fecha

Arreglado!!

Código:
<html>
<head>
	<title>Untitled</title>
	<script>
	Nombredeldia=new Array("Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado");
	Nombredelmes=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");
	ahora=new Date
	anio=ahora.getYear()
	if (navigator.appName=="Netscape"){anio=anio+1900}
	</script>
</head>

<body>
<script>
document.write("Hoy es "+Nombredeldia[ahora.getDay()]+", "+ahora.getDate()+" de "+Nombredelmes[ahora.getMonth()]+" de "+anio+".")
</script>


</body>
</html>
;)