Start of change

-16038   THE ARGUMENTS OF FN:DATETIME HAVE DIFFERENT TIMEZONES. ERROR QNAME=ERR:FORG0008.

Explanation

The function fn:dateTime includes arguments that reference different time zones. The time zone of either argument might be an explicit part of the value or the result of using the implicit time zone for the XQuery execution environment for the argument.

System action

The XQuery expression is not processed.

Programmer response

Make sure that the same time zone is used for both arguments of function fn:dateTime.

SQLSTATE

10608

End of change