Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Dates Times Calculator

Date and Time Calculator works out Days between and Days counting both dates from What to report, Start date and End date. The default figures on this page give days between of 987 days; change any entry and the result, the working and the sources update together.

Days between
987 days
Date Difference Calculator
Days counting both dates
988 days
Whole years
2 years
Extra months
8 months
Extra days
13 days
Extra hours
8 h
Extra minutes
0 min
Whole months
32 months
Whole weeks
141 weeks
Days after the whole weeks
0 days
Weeks (decimal)
141.0476 weeks
Years (decimal)
2.7032 years
Hours
23,696.0000 h
Minutes
1,421,760 min
Seconds
85,305,600 s
Business days (both dates counted)
677 days
Weekend days in the span
282 days
Holidays excluded
29 days
Start date falls on
Monday
End date falls on
Monday
Start day of year
1
End day of year
257
ISO week of the end date
2026-W38
Measured up to
2026-09-14
Direction
forward
Summary
2 years, 8 months, 13 days, 8 hours, 0 minutes (987 days)
Worked out from ISO 8601-1:2019, Date and time - Representations for information interchange and 5 other sources.

Your figures

Updates as you type
The earlier date, in YYYY-MM-DD form.
Leave blank to measure up to today.
Refines the hours and minutes totals; leave at midnight for whole-day answers.

How this is worked out

7 steps
  1. Start 2024-01-01 09:00 (Monday), end 2026-09-14 17:00 (Monday).
  2. Elapsed days = day number of 2026-09-14 minus day number of 2024-01-01 = 987.
  3. With the clock: 987 x 1440 + (1020 - 540) = 1421760 minute(s), so 987 whole day(s) and 8h 0m remain.
  4. Calendar walk with the day borrowed from the clock: 2 years, 8 months, 13 days, 8h 0m.
  5. 987 days = 141 week(s) and 0 day(s).
  6. Decimal years = 987 / 365.2425 (mean Gregorian year) = 2.7023.
  7. Business days 2024-01-01 to 2026-09-14 inclusive = 706 weekday(s) - 29 holiday(s) = 677.
Holidays in the spantable
2024-01-01 New Year's Day, 2024-01-15 Birthday of Martin Luther King, Jr., 2024-02-19 Washington's Birthday, 2024-05-27 Memorial Day, 2024-06-19 Juneteenth National Independence Day, 2024-07-04 Independence Day, 2024-09-02 Labor Day, 2024-10-14 Columbus Day, 2024-11-11 Veterans Day, 2024-11-28 Thanksgiving Day, 2024-12-25 Christmas Day, 2025-01-01 New Year's Day, 2025-01-20 Birthday of Martin Luther King, Jr., 2025-02-17 Washington's Birthday, 2025-05-26 Memorial Day, 2025-06-19 Juneteenth National Independence Day, 2025-07-04 Independence Day, 2025-09-01 Labor Day, 2025-10-13 Columbus Day, 2025-11-11 Veterans Day, 2025-11-27 Thanksgiving Day, 2025-12-25 Christmas Day, 2026-01-01 New Year's Day, 2026-01-19 Birthday of Martin Luther King, Jr., 2026-02-16 Washington's Birthday, 2026-05-25 Memorial Day, 2026-06-19 Juneteenth National Independence Day, 2026-07-03 Independence Day, 2026-09-07 Labor Day

Its 10 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

6 sources
ISO 8601-1:2019, Date and time - Representations for information interchange
Proleptic Gregorian calendar and YYYY-MM-DD date representation used throughout.
Howard Hinnant, chrono-Compatible Low-Level Date Algorithms (days_from_civil)
Exact civil-date to day-number conversion, the basis of the elapsed-day count.
Microsoft Excel NETWORKDAYS function specification
Business-day convention: both the start date and the end date are counted.
5 U.S.C. 6103 - Federal legal public holidays
Holiday list and the Saturday-to-Friday / Sunday-to-Monday observance shift.
Alcoholics Anonymous sobriety chip practice (24 hours; 30, 60 and 90 days; 6 and 9 months; 1 year, 18 months and each year after)
The milestone intervals listed by the sobriety mode. Chip schedules are a group custom and vary between groups; only the dates are computed here.
Met Office, Heatwave (UK heatwave definition)
A UK heatwave is a spell of at least three consecutive days at or above the location threshold; the spell length is the inclusive count of those days.

What the Date and Time Calculator calculates

Days, weeks, months and years between two calendar dates, with the calendar breakdown, the business-day count and the weekday of each date; it also measures between two date-and-time instants, counts the time elapsed since a date up to today, reports length of service, and lists the sobriety milestones passed.

How to use this Date and Time Calculator

Enter What to report, Start date, End date and Count the end date as a whole day. Days between updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Days between, Days counting both dates and Whole years.

The method follows ISO 8601-1:2019, Date and time - Representations for information interchange, Howard Hinnant, chrono-Compatible Low-Level Date Algorithms (days_from_civil), Microsoft Excel NETWORKDAYS function specification, 5 U.S.C. 6103 - Federal legal public holidays and Alcoholics Anonymous sobriety chip practice (24 hours; 30, 60 and 90 days; 6 and 9 months; 1 year, 18 months and each year after).

What you can compare

Change one input at a time to see how it affects Days between, Days counting both dates and Whole years. The inputs you can vary are What to report, Start date, End date, Count the end date as a whole day, Start time (optional) and End time (optional).

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How to calculate time from two dates?

Days, weeks, months and years between two calendar dates, with the calendar breakdown, the business-day count and the weekday of each date; it also measures between two date-and-time instants. Open “How this is worked out” beside the result to see each step for your own figures.

Can you provide me with a date and time calculator?

Days, weeks, months and years between two calendar dates, with the calendar breakdown, the business-day count and the weekday of each date; it also measures between two date-and-time instants. Put your own figures in above and the working updates beside the result. For scale, the default figures on this page give 987 days.

How to calculate time in a day?

It needs What to report, Start date, End date, Count the end date as a whole day, Start time (optional) and End time (optional). Nothing else is required, and the figures stay in your browser.

How do I calculate the time between two times?

The result gives Days between, Days counting both dates, Whole years, Extra months, Extra days and Extra hours, each labelled with its unit so the figure can be read on its own.

What information do I need for the Date and Time Calculator?

You need What to report, Start date, End date, Count the end date as a whole day, Start time (optional), End time (optional) and Holidays to exclude from business days. The page opens with default figures that give days between of 987 days, so you can see the scale before entering your own.

What does this Date and Time Calculator show?

It shows Days between, Days counting both dates, Whole years, Extra months, Extra days, Extra hours, Extra minutes and Whole months, with the working and any warnings for your entries.

Related calculators

View all related calculators9 more