
21/02/2005, 10:02
|
 | Moderadora | | Fecha de Ingreso: agosto-2001 Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 6 meses Puntos: 381 | |
Prueba así
<HTML>
<HEAD>
<script type="text/javascript">
function tiempo(ahora){ ahora2 = ahora
ahora.setSeconds(ahora.getSeconds()-1);
newtime = window.setTimeout("tiempo(ahora2)", 1000);
}
</script>
<script type="text/javascript">
function inicio(){
hoy_java = new Date(2005,1,20,11,40,12);
tiempo(hoy_java);
}
</script>
</head>
<BODY onLoad="inicio()">
</body>
</html> |