dateTime-less-than

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

Syntax

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