This function extracts the days component of a dayTimeDuration , as an integer. For example, if the supplied duration is «PT36H » , the result will be 1.
Argument | Data' Type | Meaning |
---|---|---|
input | xdt:yearMonthDuration | The value from which the days component is to be extracted |
Result | xs:integer | The number of days in the duration, after normalizing it so that 24 hours is represented as one day. The value will be negative if the duration is negative. |