View Categories

Compare Card issue when comparing datetime fields across different dates

< 1 min read

Problem Statement  :

The Compare Card logic was working correctly when both datetime values were on the same date. However, logic was failing when comparing two datetime fields that fall on different dates, even though the conditions were true.



RCA :
In this specific case, the customer had selected the comparison type as “Time” in the Compare Card configuration.
When the comparison type is set to Time, the system only evaluates the time component (hours, minutes, and seconds) of the datetime field — it does not consider the date portion.



Solution :
If the customer wants the comparison to include both the date and time, they should select “Date” as the comparison type in the Compare Card instead of “Time.”

Scroll to Top