I have data with a start and stop time field. I have to treat any portion of each clock hour as 1 hour. So if the start time is 9:55 AM and the end time is 10:05 AM, I have to count the 5 minutes before 10 as one hour and the five minutes after ten as 1 hour for a total of 2 hours. I used the Hour function on each to round the time to a clock hour, adding 1/24 to the end time to get the next highers whole hour. Unfortunately, that makes the numbers useless for elapsed time calculation if the span a crossing from AM to PM.
Is there a way to round these times and correctly calculate the elapsed time with my partial clock hour rule, all within a query?