How to compare below mentioned values

0
Hi all, I am comparing below two dates in condition if they both are equal then true it will copy the data otherwise it will moved to false flow. But its always moving to false I don’t know whats the reason. I tried with directly comparing both values as well as  also tried with formatDateTime() function created the two var and used this function its working in local but in test environment I am getting error as it failed to execute this action. Please guide me.  Thanks in advanced
asked
1 answers
1

Hello Priyanka,

 

It should go to true when the dates are equal? The times do not matter? I think because your times are different that is why your decision always lands on false.

 

If time does not matter, then try the ‘trimToDays’ function to compare the days with each other and not the the time.

 

trimToDays($variable1) = trimToDays($variable2)

 

Cheers,

Mark

answered