fn:years-from-yearMonthDuration

fn:years-from-yearMonthDuration( yearMonthDuration? $srcval) → integer?

Function signature

$srcval

xdt:yearMonthDuration ?

Result

xs:integer ?

Extracts the years component of a yearMonthDuration value

XPath 2.0 Specification

Note: The old name get-years-from-yearMonthDuration is retained as a synonym


Expand

Up  Next