In [7]: d = datetime.timedelta(1) ...: print(type(d)) ...: print(d) ...: <type 'datetime.timedelta'> 1 day, 0:00:00