# op:date-equal - XPath XQuery Reference

Returns true if and only if the starting instants of the two supplied
               xs:date values are the same.Defines the
         semantics of the "eq" operator when applied to two xs:date values. Also used
         in the definition of the "ne", "le" and "ge" operators.deterministiccontext-dependentfocus-independentThe starting instant of an xs:date is the xs:dateTime at time
               00:00:00 on that date.The function returns the result of the expression:op:dateTime-equal(xs:dateTime($arg1), xs:dateTime($arg2))op:date-equal(xs:date("2004-12-25Z"),
                  xs:date("2004-12-25+07:00"))false()The starting instants are
                     xs:dateTime("2004-12-25T00:00:00Z") and
                     xs:dateTime("2004-12-25T00:00:00+07:00"). These are normalized to
                     xs:dateTime("2004-12-25T00:00:00Z") and
                     xs:dateTime("2004-12-24T17:00:00Z"). op:date-equal(xs:date("2004-12-25-12:00"),
                  xs:date("2004-12-26+12:00"))true()