def shift_time(dtime, shift):
return dtime + timedelta(seconds=shift)<EOL>
Adds/deletes an integer amount of seconds from a datetime specification

    :param dtime: The datatime specification
    :param shift: The wanted time shift (+/-)
    :return: A shifted datatime specification