Compare 2 Dates in Validation rule
Hi,
I want to compare 2 Dates (NOT 2 DateTimes) In a Validation rule. I can't find a function to compare 2 Dates, but only the function CompareDates(DateTime, Datetime) that compares 2 DateTimes. The problem I have is that the properties I want to compare are Date type and this function CompareDates(DateTime, Datetime) will throw an error. I want to replace the properties with new ones of type DateTime and this will work, but sounds like a workaround. There has to be a comparer function also for Dates and not DateTimes, right? P.s. i'm using Pega 7.1.9