Hi
I want to calculate hours between two dates like below
1- Calculate hours between two dates only for week dates in between 7 AM to 11 PM
2- Calculate hours only for Saterday and Sunday in between 10 AM to 4 PM
for example - if satrt time = 25-8-2019 8:10
End Time = 27-8-2019
then Total time = 6 hours for 25-08 as its Sunday + 18.12 hours for Monday(26-08) and Tuesday(27-08)
how can i achieve that