Saxonica.com

fn:hours-from-duration

fn:hours-from-duration( dayTimeDuration? $srcval) → integer?

Function signature

$srcval

xdt:dayTimeDuration ?

Result

xs:integer ?

Extracts the hours component of a dayTimeDuration value

XPath 2.0 Specification

Next