It will be more easy for me if you put some sample.
I'll bet it would be easier for me to hand you the proverbial fish instead of teaching you how to fish. However, you have to put some effort into it. Google ms access datediff function and see what it does. As I indicated, you will likely need date values along with your times. I pointed that out, but I am none the wiser about your data after your response.
This will result in a calculation of 23 hours.
datediff("h",#01/21/2021 11:30:00 AM#,#01/22/2021 10:30:00#)
However, if all of your dates/times are in one field, you will probably have to create a calculated query field in a Totals query. Totals query will allow you to group by one or more other fields if you need to do that. Also, you might have to create 3 calculated fields like
Expr1: DMax(of field, with criteria perhaps)
Expr2: DMin(of field, with criteria perhaps)
Expr3: [Expr1] - [Expr2])
Another possibility is that you would need to use a subquery. I am just throwing ideas out here as I have no idea what your data looks like. Perhaps you will have to research DMax and DMin functions and/or subqueries.