Navigation: Functions > Function Library Reference > xpath2 | durations, date and time functions
Returns an xs:integer representing the year part of the xs:dateTime value supplied as argument.
XQuery, XSLT 2.0, XSLT 3.0.
Name
Type
Description
dateTime
xs:dateTime
The input value of type xs:dateTime.