public function getTime($seconds) {

        $dtF = new \DateTime("@0");
        $dtT = new \DateTime("@$seconds");
        return $dtF->diff($dtT)->format('%h hours, %i minutes %s sec.');

    }
public function getTime($seconds) {

        $dtF = new \DateTime("@0");
        $dtT = new \DateTime("@$seconds");
        return $dtF->diff($dtT)->format('%h hours, %i minutes %s sec.');

    }
public function getTime ( $ seconds ) { $ dtF = new \ DateTime ( "@0" ) ; $ dtT = new \ DateTime ( "@$seconds" ) ; return $ dtF -> diff ( $ dtT ) -> format ( '%h hours, %i minutes %s sec.' ) ; }
Get elapsled time

@param int $seconds
@return string
Get elapsled time