date-less-than

Compares two given dates to see if one is less than the other.

Syntax

    date-less-than(strDate1, strDate2)

Parameters

strDate1 is a string that represents one date to compare and is specified in the format yyyy-mm-dd .

strDate2 is a string that represents the other date to compare and is specified in the format yyyy-mm-dd .

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

Returns

A Boolean value of true if the date that strDate1 represents is less than the date that strDate2 represents, otherwise false .