In [9]: d = datetime.timedelta(days=1,hours=3,minutes=12) ...: print(type(d)) ...: print(d) ...: <type 'datetime.timedelta'> 1 day, 3:12:00