Altova MapForce 2024 Enterprise Edition

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

mf-func-hour-from-datetime

 

Languages

Built-in, C++, C#, Java.

 

Parameters

Name

Type

Description

datetime

xs:dateTime

Provides the input value of type xs:dateTime.

 

Example

If datetime is 2001-12-17T09:30:02+05:00, then the function returns 9.

 

 

© 2017-2023 Altova GmbH