1. Home
  2. Everyday Life
  3. Time Duration Calculator

Time Duration Calculator

Enter a start and end date and time to get the exact duration in days, hours, minutes and seconds, plus the total in each unit.

Working out a night shift from 22:00 to 06:30? Use the Two times tab: if the end time is earlier than the start, we count it as the next day.

How long is it between two dates and times?

Answer โ€”

How we got this

    Your next step

    Your answer carries over, so you donโ€™t have to type it again.

    How the duration is worked out

    We turn both moments into minutes since a fixed starting point, subtract, then split the difference into days, hours and minutes.

    Worked example

    From Monday 08:30 to Wednesday 17:15: Monday 08:30 to Wednesday 08:30 is 2 days. 08:30 to 17:15 is 8 h 45 min. Total 2 days 8 h 45 min, which is 56.75 hours.

    Overnight and night shifts

    With two clock times only, an end time earlier than the start means the period runs past midnight. 22:00 to 06:30 is 2 h until midnight plus 6 h 30 min after, so 8 h 30 min.

    Time zones and daylight saving

    Both times are treated as the same local clock. If daylight saving starts or ends between them, the real elapsed time is one hour shorter or longer than shown. For travel across time zones, convert both times to one zone first.

    Hours to days

    HoursDays and hours
    241 day
    361 day 12 h
    482 days
    723 days
    1004 days 4 h
    1687 days (1 week)

    Frequently asked questions

    How do I calculate the time between two times?

    Subtract the start from the end. If the end is earlier, add 24 hours because it is the next day.

    How many hours are between 9 am and 5 pm?

    8 hours.

    How do I find the duration across several days?

    Use the โ€œTwo dates & timesโ€ tab with the start and end dates and times.

    Does it account for daylight saving time?

    No. Both times are treated as the same local clock, so a daylight-saving change between them shifts the real time by an hour.

    Last updated ยท Written and checked by the AzCalculator team ยท Calculations run in your browser with full precision and are rounded only for display. How we build calculators