Re: Sumar tiempo

From: Date: Thu, 27 Jun 2002 10:33:31 +0000
Subject: Re: Sumar tiempo
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-24271@lists.php.net to get a copy of this message
algo asi te puede servir list($h,$m,$s) = explode(":",$texto); $seg= $h*3600 + $m*60 + $s; ahora $seg son los segundos de ese texto saludos Horacio ----- Original Message ----- From: "Ariel Nardelli" <ariel@hensa.com.ar> To: <lista@phpes.com> Sent: Wednesday, June 26, 2002 11:51 PM Subject: [PHP-ES] Sumar tiempo > Hola gente... > Estube mirando el manual de php y no encuentro como hacer para sumar > horas/minutos/segundos... > > Tengo dos campos tipo caracter y dentro contienen hh:mm:ss y quiero > sumarlos, pero mirando el manual no encuentro nada para sumar tiempo, > alquien tiene alguna idea como hacerlo? > > Gracias > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > >

« previous php.general.es (#24271) next »