XPath/XQuery dateTime-greater-than function

Summary

Returns true if the first argument represents a later instant in time than the second argument.

Operator Mapping

Defines the semantics of the "gt" operator when applied to two xs:dateTime values. Also used in the definition of the "le" operator.

Signature

op:dateTime-greater-than(
$arg1 as xs:dateTime,
$arg2 as xs:dateTime
) as xs:boolean

Properties

This function is deterministic, context-dependent, and focus-independent. It depends on implicit-timezone.

Rules

The function call op:dateTime-greater-than($A, $B) is defined to return the same result as op:dateTime-less-than($B, $A)