Unable to take the difference between two dates

Good tip, Damien! But I see that value in Michael’s code, as 1000246060.

Michael, what kind of date values are you comparing? The Floor() function will give you a 0 for anything less than 1 full day difference. I would recommend increasing the decimal places to 1 or 2, removing the Floor() function, and dividing by 1000
60*60 to look at minutes until you see what the formula is giving you.