Hi all,

I've got a project where I need to calculate the time passed between an acceptable range.
For example

E-mail was received at 19:00 and a response was sent at 09:00
The acceptable range is 8am to 6pm so in the scenario it shoudl return 60 mins.

Another example is if the email was received at 16:00 reply was sent on 10:00 am next day it should return 240.

Any thought...