day-from-duration
Returns the day, as an integer value, from the xs:duration value supplied as argument.

Languages
Built-in, C++, C#, Java.
Parameters
Name | Type | Description |
---|---|---|
duration | xs:duration | Provides the input value of type xs:duration. |
Example
If duration is P1Y2M3DT10H30M, then the day-from-duration function returns 3.