def parse_tz_offset(s):
 tz_off = (((int(s[1:3]) * 60) * 60) + (int(s[3:5]) * 60))
 if (s[0] == '-'):
  return (- tz_off)
 return tz_off

def parse_tz_offset ( s ) : tz_off = ( ( ( int ( s [ 1 : 3 ] ) * 60 ) * 60 ) + ( int ( s [ 3 : 5 ] ) * 60 ) ) if ( s [ 0 ] == '-' ) : return ( - tz_off ) return tz_off
utc offset in seconds .