You can use trim to days function. For eg: trimToDays($Date1) = trimToDays($Date2)
So if I understood correctly, you want to check whether the date is the same, ignoring the time? Perhaps you can do something like formatDate($A/Date, 'yyyyMMdd') = formatDate($Date, 'yyyyMMdd')?
Hope this helps!
you are looking for the trim to date function. Have a look at https://docs.mendix.com/refguide/trim-to-date
You can asalo use the function trimToDays on both the sides of the expression