![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/12/2005, 04:38
|
| | Fecha de Ingreso: octubre-2003
Mensajes: 109
Antigüedad: 21 años, 4 meses Puntos: 1 | |
strtotime() Llevo varios días intentando restar tiempos Quest me dijo que usase la función:
strtotime()
Pero por qué si hago esto
$tiempo=strtotime($registro["final"])-strtotime($registro["comienzo"]);
$tempus=date('H:m:s',$tiempo);
siendo el valor de $registro["final"])=05:37:21
y el de $registro["comienzo"]=00:27:28
me da como resultado 06:01:53
????? |