timeutils.timespan module

TimeSpan

class timeutils.timespan.TimeSpan(t)[source]
days
hours
human_str(trim_zeros=True)[source]

Returns a human-readable TimeSpan object, represented as time units such as days, hours, minutes, and seconds.

milliseconds
minutes
seconds
total_hours
total_milliseconds
total_minutes
total_seconds