import datetime ts = ts + datetime.timedelta(seconds=1) ts = ts + datetime.timedelta(minutes=1) ts = ts + datetime.timedelta(hours=1) ts = ts + datetime.timedelta(days=1)