{ Frameless }

year-from-dateTime($arg)

The year-from-dateTime($arg) function returns the year component of the xs:dateTime provided by $arg.

Arguments

ArgumentType
$argxs:dateTime
Return valuexs:integer

Examples

year-from-dateTime(xs:dateTime("2013-11-01T22:42:21-08:00"))2013