Comparing Date instead of DateTime!

6
I would like to compare two dates to each other. E.g. $ObjectA/Date1 <= $ObjectB/Date2 However, it will take the time in consideration as well. What would be the expression to compare two dates instead of two DateTime's.
asked
1 answers
8

You can remove the time by using the trimToDays($object/Date1) function.

So, your expression should be:

trimToDays($object/Date1) <= trimToDays($object/Date2)
answered