fn:months-from-duration( yearMonthDuration? $srcval) → integer?
Function signature
$srcval |
xdt:yearMonthDuration ? |
Result |
xs:integer ? |
Extracts the months component of a yearMonthDuration value
Note:The old names get-months-from-yearMonthDuration and months-from-yearMonthDuration are retained as synonyms