We have everyday a product to be delivered one hour before mid-night, 23:00 hrs. The product is either released before scheduled time or after, sometimes past mid-night but before 06:00 hrs. The delivery team enters only time when it is delivered. I want to calculate how much earlier or later it was delivered.
Someone please help me with formula.