def get_dt(msg_epoch, obs_epoch):
    """Returns delta between msg_epoch and obs_epoch in seconds.

    """
    if obs_epoch >= msg_epoch:
        return (obs_epoch - msg_epoch).seconds
    else:
        return (msg_epoch - obs_epoch).seconds * -1