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

 

 

© 2018-2024 Altova GmbH