add time delta pytohn

Solutions on MaxInterview for add time delta pytohn by the best coders in the world

showing results for - "add time delta pytohn"
Ilaria
26 Jun 2018
1import datetime
2
3ts = ts + datetime.timedelta(seconds=1)
4ts = ts + datetime.timedelta(minutes=1)
5ts = ts + datetime.timedelta(hours=1)
6ts = ts + datetime.timedelta(days=1)