date-equal

Compares two given dates to see if they are equal.

Syntax

    date-equal(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 equal to the date that strDate2 represents, otherwise false.

// Ethnio survey code removed