fn:hours-from-time

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

Function signature

$srcval

xs:time ?

Result

xs:integer ?

Extracts the hours component of a time value

XPath 2.0 Specification

Implemented; but currently returns the local time value, not the normalized time value.

Note: The old name get-hours-from-time is retained as a synonym


Expand

Up  Next