Brilliant! I was actually searching through your undocumented functions yesterday looking for ideas.
The time side of things is working but there appears to be a glitch in the date. Check out the middle Dec 28 results
It’s calculating different DATEVALUEs for the same day… 44559 and 44560
The error seems to occur if the time span between start and end includes 7pm. Given that is 5 hours from midnight and I am in EST (UTC−5), I wonder if they are related. Is this a Monday calculation glitch, or do I need to make an offset calc in your formula?