Duration get a response

  • total_seconds total length, in seconds

  • days in days

  • microseconds (> = 0 and less than 1 second) microsecond acquisition portion is greater than 0 but less than 1 second

  • seconds Number of seconds (> = 0 and less than 1 day) seconds, greater than 0 and less than 1 day

  • max = datetime.timedelta (999999999, 86399, 999999) maximum time

  • min = datetime.timedelta (-999999999) minimum time

  • resolution = datetime.timedelta (0, 0, 1) minimum time unit

Guess you like

Origin www.cnblogs.com/yaohu/p/11593632.html