Date difference in Adonix language

Does anyone know the correct syntax for a workflow if I wanted to compare 2 dates and only show those for which the dates differ by greater than 1 day? In SQL, it's a simple DATEDIFF() to find this number, but I don't know how to code this in X3.