Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/09/2002, 19:52
kafecam
 
Fecha de Ingreso: noviembre-2001
Ubicación: Arica
Mensajes: 92
Antigüedad: 22 años, 5 meses
Puntos: 0
Re: Convertir variable int a variable time...

Tendrias que usar un codigo como el sgte:

$tiempo=date("H:i:s", mktime($hora,$minuto,$segundo))

este guardaria en la variable $tiempo el valor "56:03:02" tomando los datos de tu ejemplo.

para mas informacion <a href='ir.asp?http://www.php.net/manual/es/function.date.php' target='_blank'>http://www.php.net/manual/es/function.da...</a>