Altova MapForce 2024 Enterprise 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).

© 2017-2023 Altova GmbH