Altova MapForce 2025 Professional Edition

Returns Boolean true if the year of the xs:dateTime value supplied as argument is a leap year; false otherwise.

mf-func-leapyear

 

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 2020-04-17T09:30:02+02:00, the function returns true, since the year 2020 is a leap year.

© 2018-2024 Altova GmbH