fn:year-from-dateTime

fn:year-from-dateTime( dateTime? $srcval) → integer?

Function signature

$srcval

xs:dateTime ?

Result

xs:integer ?

Extracts the year component of a dateTime value

XPath 2.0 Specification

Note:The old name get-year-from-dateTime is retained as a synonym

Expand

Up  Next