Please enable JavaScript to view this site.

Altova MapForce 2021 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.

 

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).

© 2020 Altova GmbH