May I suggest to use dateCompare transform twice, once as gte and another as lte. Then read the results from both. If both are positive, then equals will be true
Something like this…
{
"name": "DateEqualsTransform",
"type": "conditional",
"attributes": {
"expression": "$lteComparison$gteComparison eq truetrue",
"positiveCondition": "true",
"negativeCondition": "false",
"lteComparison": {
"type": "dateCompare",
"attributes": {
"firstDate": {
"type": "dateFormat",
"attributes": {
"input": {
"attributes": {
"sourceName": "New_Source_CNexpTest",
"attributeName": "CONTRACT_END_DATE"
},
"type": "accountAttribute"
},
"inputFormat": "MM/dd/yyyy",
"outputFormat": "ISO8601"
}
},
"secondDate": {
"type": "dateMath",
"attributes": {
"expression": "now+14d/d",
"roundUp": false
}
},
"operator": "lte",
"positiveCondition": "true",
"negativeCondition": "false"
}
},
"gteComparison": {
"type": "dateCompare",
"attributes": {
"firstDate": {
"type": "dateFormat",
"attributes": {
"input": {
"attributes": {
"sourceName": "New_Source_CNexpTest",
"attributeName": "CONTRACT_END_DATE"
},
"type": "accountAttribute"
},
"inputFormat": "MM/dd/yyyy",
"outputFormat": "ISO8601"
}
},
"secondDate": {
"type": "dateMath",
"attributes": {
"expression": "now+14d/d",
"roundUp": false
}
},
"operator": "gte",
"positiveCondition": "true",
"negativeCondition": "false"
}
}
}
}