public function timeOffset($offset)
    {
        $offset_whole = round($offset);
        $offset_decimal = abs($offset - $offset_whole) * 60;

        return (substr($offset, 0, 1) != '-' ? '+' : '').$offset_whole.':'.str_pad($offset_decimal, 2, '0', STR_PAD_LEFT);
    }
public function timeOffset($offset)
    {
        $offset_whole = round($offset);
        $offset_decimal = abs($offset - $offset_whole) * 60;

        return (substr($offset, 0, 1) != '-' ? '+' : '').$offset_whole.':'.str_pad($offset_decimal, 2, '0', STR_PAD_LEFT);
    }
public function timeOffset ( $ offset ) { $ offset_whole = round ( $ offset ) ; $ offset_decimal = abs ( $ offset - $ offset_whole ) * 60 ; return ( substr ( $ offset , 0 , 1 ) != '-' ? '+' : '' ) . $ offset_whole . ':' . str_pad ( $ offset_decimal , 2 , '0' , STR_PAD_LEFT ) ; }
Convert an integer timeset to pretty.

@param int $offset

@return string
Convert an integer timeset to pretty .