![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/02/2005, 10:02
|
![Avatar de tunait](http://static.forosdelweb.com/customavatars/avatar3543_1.gif) | Moderadora | | Fecha de Ingreso: agosto-2001 Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 5 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> |