SplitDurationToParts
Computes components of a duration.
Syntax
C++
Python
def SplitDurationToParts( inDuration: Duration, / ) -> ( outDaysPart: int, outHoursPart: int, outMinutesPart: int, outSecondsPart: int, outNanosecondsPart: int, outTotalDays: float, outTotalHours: float, outTotalMinutes: float, outTotalSeconds: float, outTotalNanoseconds: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inDuration | Duration | Duration to split | |
![]() |
outDaysPart | int | Integer number of days | |
![]() |
outHoursPart | int | Integer number of hours (in range <-23;23>) | |
![]() |
outMinutesPart | int | Integer number of minutes (in range <-59;59>) | |
![]() |
outSecondsPart | int | Integer number of seconds (in range <-59;59>) | |
![]() |
outNanosecondsPart | int | Integer number of nanoseconds (in range <-999999999;999999999>) | |
![]() |
outTotalDays | float | Total duration expressed in days | |
![]() |
outTotalHours | float | Total duration expressed in hours | |
![]() |
outTotalMinutes | float | Total duration expressed in minutes | |
![]() |
outTotalSeconds | float | Total duration expressed in seconds | |
![]() |
outTotalNanoseconds | float | Total duration expressed in nanoseconds |


