fn:minutes-from-duration( $arg as xs:duration? ) as xs:integer?
Returns an xs:integer representing the minutes component in the canonical lexical representation of the value of $arg. The result may be negative.
If $arg is the empty sequence, returns the empty sequence.
Parameters | |
---|---|
arg | The duration whose minute component will be returned. |
fn:minutes-from-duration(xs:duration("P3DT10H")) => 0
fn:minutes-from-duration(xs:duration("-P5DT12H30M")) => -30
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.