current-time

The current time

Description

The fn:current-time function takes no parameters, and returns the current time, with time zone. If the function is called multiple times within the same query, it returns the same value every time. The time zone is implementation-dependent.

Examples

XPath

Results

current-time()

13:40:23.83-05:00

See Also