08/07/2002, 15:18
|
| Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 1 mes 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>
;) |