def get_timezone_offset(ifo, dt=None):
import pytz<EOL>dt = dt or datetime.datetime.now()<EOL>offset = pytz.timezone(get_timezone(ifo)).utcoffset(dt)<EOL>return offset.days * <NUM_LIT> + offset.seconds + offset.microseconds * <NUM_LIT><EOL>
Return the offset in seconds between UTC and the given interferometer

    Parameters
    ----------
    ifo : `str`
        prefix of interferometer, e.g. ``'X1'``

    dt : `datetime.datetime`, optional
        the time at which to calculate the offset, defaults to now

    Returns
    -------
    offset : `int`
        the offset in seconds between the timezone of the interferometer
        and UTC