duration_microseconds
Calculates the total number of microseconds in a given timedelta object by combining days, seconds, and microseconds.
def duration_microseconds(
delta: timedelta
) - > int
Calculates the total duration of a timedelta object expressed in microseconds.
Parameters
| Name | Type | Description |
|---|---|---|
| delta | timedelta | The timedelta object representing the time span to be converted into microseconds. |
Returns
| Type | Description |
|---|---|
int | The total number of microseconds represented by the input duration, including days, seconds, and microseconds. |