def shift_time(dtime, shift):
    return dtime + timedelta(seconds=shift)

# ---------------------------------------------------------------------------
Adds/deletes an integer amount of seconds from a datetime specification
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/time_util.py/shift_time