fn:current-time

Return current time.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

fn:current-time() => xs:time

Description

This function returns the current time corresponding to the current date and time. The result is a value of type xs:time that contains the time together with timezone information.

Examples

  • Calling this function can return a value such as 17:22:33.161Z:

    current-time()