Search
datetime objects can be subtracted from each other to find the difference between times. This operation returns a timedelta object which has only the attributes days, seconds, and microseconds.
datetime
timedelta