---
title: "Time between hours and overnight shifts · Lyntev"
description: "Calculate hours and minutes between two times, including overnight shifts. Add a date and time zone to account for clock changes."
url: "https://lyntev.com/en/tools/calculators/time-between-hours"
language: "en-GB"
---

1. [Home](<https://lyntev.com/en>)
2. [Free tools](<https://lyntev.com/en/tools>)
3. [Calculators](<https://lyntev.com/en/tools/calculators>)
4. Time difference calculator

# Time difference calculator

Find how long a shift, journey or other interval lasts. Enter the date and time zone to measure elapsed time when the clocks change.

Free, no account. The calculation stays on your device.

## How to calculate

1. Enter both times.
2. Choose the end day or use the automatic setting.
3. To account for a clock change, choose elapsed time and enter the start date and time zone.

## Worked example

From 22:30 to 06:15 the next day is 7 h 45 min by the clock. In London on 28–29 March 2026, 6 h 45 min elapse because the clocks go forward.

## Frequently asked questions

What happens if the end time is earlier?

Automatic mode treats it as the next day. You can select the end day explicitly to use the same time on different dates.

Do equal times mean zero or 24 hours?

In clock mode, equal times on the same day give zero. On consecutive days they give 24 hours. In time zone mode, elapsed time can vary when the clocks change.

How does this handle repeated or missing times?

In time zone mode, you can choose the first or second occurrence of a time that appears twice. If a time does not exist on the chosen date, the calculator asks you to select another time.

## Sources and references

- [Time zone rules · IANA](<https://data.iana.org/time-zones/tzdb/theory.html>)
- [Ambiguous and missing local times · MDN](<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/PlainDateTime/toZonedDateTime>)

## Related calculators

- [Calculate a deadline excluding weekends and holidays you enter](<https://lyntev.com/en/tools/calculators/working-days>)
- [Count the number of days between two dates](<https://lyntev.com/en/tools/calculators/date-difference>)
- [Find the weekday and ISO week number of a date](<https://lyntev.com/en/tools/calculators/iso-week-and-weekday>)
- [Calculators](<https://lyntev.com/en/tools/calculators>)
