Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

fn:hours-from-time

Return hours integer value from time argument.


Syntax

fn:hours-from-time(xs:time? $arg) => xs:integer?

Top of page

Description

This function returns an integer value between 0 and 23, representing the hours component of the localized value of the argument value. The localized value is the value in its original timezone or without timezone. If the argument is an empty sequence, the empty sequence is returned.

Top of page

Argument

$arg

argument value of type xs:time

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page