Altova MapForce 2023 Professional Edition

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

mf-func-year-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.544+05:00, the function returns 2001.

© 2016-2022 Altova GmbH