dateTime-greater-than

Checks whether a given date and time is greater than another given date and time.

Syntax

    dateTime-greater-than(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 greater than the date and time that strDateTime2 represents, otherwise false .