Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/09/2003, 15:01
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 5 meses
Puntos: 381
A ver si algo así te sirve

<script language="JavaScript">
function relojillo()
{
fecha = new Date()
hora = fecha.getHours()
minuto = fecha.getMinutes()
segundo = fecha.getSeconds()
horita = hora + ":" + minuto + ":" + segundo
document.getElementById('horeja').innerHTML = horita
setTimeout('relojillo()',1000)
}
</script>

</head>

<body onload="relojillo()">
<div id="horeja">hora</div>
</body>