dateTime-equal

Checks whether two given dates and times are equal.

Syntax

    dateTime-equal(strDateTime1, strDateTime2)

Parameters

strDateTime1 is a string that represents one date and time to compare and is specified in the format yyyy-mm-ddThh:mm:ssZ.

strDateTime2 is a string that represents the other date and time to compare and is specified in the format yyyy-mm-ddThh:mm:ssZ.

For more information about date and time parameters, see Date and time parameters.

Returns

A Boolean value of true if the date and time that strDateTime1 represents is equal to the date and time that strDateTime2 represents, otherwise false.