Staging: this is not the live site, pydocs.org.
Difference between two datetime values.
All arguments are optional and default to 0.
Arguments may be integers or floats, and may be positive or negative. Members of timedelta m max The most positive timedelta object, timedelta(days=999999999, hours=23, minutes=59, seconds=59, microseconds=999999). microseconds Number of microseconds (>= 0 and less than 1 second). min The most negative timedelta object, timedelta(-999999999). r resolution The smallest possible difference between non-equal timedelta objects, timedelta(microseconds=1). s seconds Number of seconds (>= 0 and less than 1 day).
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF