Saxonica.com

fn:months-from-duration

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

Function signature

$srcval

xdt:yearMonthDuration ?

Result

xs:integer ?

Extracts the months component of a yearMonthDuration value

XPath 2.0 Specification

Next