saxonica.com

fn:hours-from-duration

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

Function signature

$srcval

xs:dayTimeDuration ?

Result

xs:integer ?

Extracts the hours component of a dayTimeDuration value

XPath 2.0 Specification

Next