Altova MapForce 2025 Professional Edition

Returns an xs:integer representing the minutes component of the canonical representation of the duration supplied as argument.

 

Languages

XQuery, XSLT 2.0, XSLT 3.0.

 

Parameters

Name

Type

Description

duration

xs:duration

The input value of type xs:duration.

 

Example

If the duration is PT1M60S (1 minute and 60 seconds), the function returns 2, not 1. This is because the canonical representation of PT1M60S is actually PT2M (2 minutes).

© 2018-2024 Altova GmbH