Next: , Previous: , Up: datetime   [Contents]


8.2.9.32 datetime.diff

Method: out = diff (obj)

Differences between elements.

Computes the difference between each successive element in obj, as a duration.

Returns a duration array the same size as obj.