Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

fn:hours-from-dateTime

Return hours integer value from datetime argument.


Syntax

fn:hours-from-dateTime(xs:dateTime? $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:dateTime

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page