public static function getSecondsFromOffset($sign, $hours, $minutes)
    {
        $hours   = (int) $hours;
        $minutes = (int) $minutes;

        $offset = $hours * 3600;
        $offset+= $minutes * 60;

        if ($sign == '-') {
            $offset = $offset * -1;
        }

        return $offset;
    }
public static function getSecondsFromOffset($sign, $hours, $minutes)
    {
        $hours   = (int) $hours;
        $minutes = (int) $minutes;

        $offset = $hours * 3600;
        $offset+= $minutes * 60;

        if ($sign == '-') {
            $offset = $offset * -1;
        }

        return $offset;
    }
public static function getSecondsFromOffset ( $ sign , $ hours , $ minutes ) { $ hours = ( int ) $ hours ; $ minutes = ( int ) $ minutes ; $ offset = $ hours * 3600 ; $ offset += $ minutes * 60 ; if ( $ sign == '-' ) { $ offset = $ offset * - 1 ; } return $ offset ; }
Returns the number of seconds from the given offset values

@param string $sign
@param integer $hours
@param integer $minutes
@return integer
Returns the number of seconds from the given offset values