Your date and time information consists of numbers, for example 20/05/2022 14:41 is held by Excel as the number 44701.611944... where 44701 gives the date, and 0.611944... gives the time.
The INT function converts this value to 44701, and so cuts off the numbers after the decimal point - so giving us the date on its own, and ignoring the time element.
So we then subtract the two dates from each other, and add 1 because your results indicate that's what you want to do.
We then need to work out if the time on the Order was after 14:00 or not.
So the MOD function does something similar here to the INT function, but instead strips off the date information to leave us with just the time.
It then says, is this value greater than 14/24 (24 hours in the day), and if it is, that gives us a TRUE value, which is treated as a 1 value, which is then deducted from the earlier result.
Try using Excel's formula evaluation tool on a couple of different input values, to understand better how this works.