 
			
				05/10/2009, 16:11
			
			
			     |  
      |    |    |    Fecha de Ingreso: octubre-2009  
						Mensajes: 40
					  Antigüedad: 16 años, 1 mes Puntos: 1     |        |  
  |      Respuesta: Como actualizo reloj php???        uno muy simnple.....   
<html> 
<head> 
<title>Reloj con Javascript</title> 
<script language="JavaScript"> 
function mueveReloj(){ 
momentoActual = new Date() 
hora = momentoActual.getHours() 
minuto = momentoActual.getMinutes() 
segundo = momentoActual.getSeconds()     
horaImprimible = hora + " : " + minuto + " : " + segundo    
document.form_reloj.reloj.value = horaImprimible   
setTimeout("mueveReloj()",1000,1) 
} 
</script> 
</head>   
<body onload="mueveReloj()">   
Vemos aquí el reloj funcionando...   
<form name="form_reloj"> 
<input type="text" name="reloj" size="20"> 
</form>   
</body> 
</html>           |