Returns Boolean true if the year of the xs:dateTime value supplied as argument is a leap year; false otherwise.
Built-in, C++, C#, Java.
Name |
Type |
Description |
---|---|---|
datetime |
xs:dateTime |
Provides the input value of type xs:dateTime. |
If datetime is 2020-04-17T09:30:02+02:00, the function returns true, since the year 2020 is a leap year.