Calculate a daytime or overnight interval
From 09:15 to 17:45 is 8 hours and 30 minutes. From 22:30 to 06:15, the end is earlier on the clock, so the calculator rolls it into the next day and returns 7 hours and 45 minutes. Identical start and end times return zero.
Allow for breaks and date changes
For a work session with a 30-minute unpaid break, subtract 30 minutes from the result. This tool compares clock times and works for intervals shorter than 24 hours. If two times are in different time zones or cross a daylight-saving switch, compare dated timestamps or use the offsets that apply to the date.