The fn:current-dateTime function takes no parameters, and returns the current date and time with the 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.
Example
If this function was invoked on January 12, 2023 in time zone Z, the returned value would be