Time Difference over a month break

I have successfully found the difference in hours between two dates! [TimeDiff] - thanks to a previous discussion on here.

I now want to record the total times within a month, =Sum[TimeDiff] works expect where the start date and end date are in different months.

How do I get it to associate the [TimeDiff] with the end date month?
Or some other way of doing it?


chramm (BOB member since 2017-03-23)