![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
11/09/2002, 19:52
|
| | Fecha de Ingreso: noviembre-2001 Ubicación: Arica
Mensajes: 92
Antigüedad: 23 años, 2 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> |