Altova MapForce 2024 Enterprise Edition

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

mf-func-hour-from-duration

 

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 P0Y0M0DT05H07M, the function returns 5.

 

© 2017-2023 Altova GmbH