Time Between Dates

Time Between Dates Calculator – Days, Weeks, Months & Add/Subtract
Free date calculator

Time Between Dates: Days, Months & More

Find the exact gap between two dates in years, months, weeks, days, hours and seconds, or add and subtract time from any date.

Months are clamped to month end: 31 Jan + 1 month = 28 Feb, not 3 March.

Presets set the start date; today becomes the end date.

8Units shown at once
LiveReal-time countdown
100%Free online tool
Mon–FriBusiness day count

What You Get From Two Dates

Every result appears together, with no unit switching.

Calendar duration

Years, months and days using real month lengths and leap years.

Total units

Days, weeks, hours, minutes and seconds as single exact totals.

Business days

Working days between dates, skipping Saturdays and Sundays.

Live countdown

A ticking timer to any future date, updated every second.

Add or subtract

Find the date that lands after any number of years, months, weeks or days.

Historical presets

One click to see how long ago major events happened.

How It Works

Get your answer in three steps.

01

Pick your dates

Choose a start and end date, or pick a preset event.

02

Set options

Include the end date or add exact times if needed.

03

Calculate

See every unit at once, computed with Gregorian leap-year rules.

Handy Reference Tables

Quick answers for common date questions.

Inclusive vs exclusive end date

Use caseSetting
Age calculationExclusive
Contract "Jan 1 to Jan 31"Inclusive
Project deadlineExclusive
3-night hotel stayInclusive

Time units

UnitValue
Seconds per day86,400
Days per week7
Days per month28 to 31
Days per year365 or 366
Weeks per year52.18

Quick answer

This calculator counts the gap between any two dates, in days and in weeks and months too. It does the awkward calendar work — short months, leap years, weekends — so a deadline or notice period is never a day out.

Gap = later date − earlier date, counted in days, then restated in weeks and months

From 1 January 2026 to 27 October 2026 is 299 days — 42 weeks and 5 days, or 9 months and 26 days.

How many days are between two dates?

You would think counting days would be the easiest sum in the world. Then February shows up with 28 days, a leap year adds a 29th, and a deadline lands on a weekend. This time between dates calculator does the awkward calendar work in one go, giving you the gap in days, and in weeks and months too, so you can use whichever unit your situation actually runs on.

People use it for ordinary, practical things: working out notice periods, counting down to a wedding, checking how long a project really took, or finding the exact length of a tenancy. What they all share is that a rough guess is not good enough. One day out can mean a missed deadline or a payment calculated wrong.

The worked example most people start with

Take 1 January 2026 and 27 October 2026. The difference between them is 299 days. That is also 42 weeks and 5 days. In calendar terms it is 9 months and 26 days, counting whole months from the first of one month to the first of the next, then the remaining days in October.

Check it another way and it still holds. January to the end of September covers 273 days in 2026, because 2026 is not a leap year and February has 28 days. Add the 26 days that take you from 1 October to 27 October and you reach 299. Doing it by hand like that takes a while, and it only takes one month remembered wrong, a 30 taken for a 31, to throw the whole total off.

  1. Write down the start date and the end date.
  2. Count the whole months between them first.
  3. Add the days in the part-months at each end.
  4. Add a day for any 29 February inside the span.

Days, weeks, or months: which answer do you need?

Different jobs measure the same gap in different units, and mixing them up is where most mistakes creep in. This rough guide covers the common cases:

SituationUnit that usually appliesWatch out for
Notice periods and deadlinesCalendar daysWhether weekends count
Project timelinesWeeks, or working daysPublic holidays in between
Tenancies and contractsMonths and daysMonths have uneven lengths
Pregnancy and babiesWeeks and daysDates counted from a start event

If a document says 90 days, it almost always means 90 calendar days unless it says business or working days in so many words. If it says three months, that is a calendar instruction, not a 90-day one, and the two can differ by a couple of days. Read the wording first, then pick the matching count here.

Should the first and last day be counted?

This is the one judgement call a calculator cannot make for you. The standard difference between two dates excludes the start day. It measures the time you must travel from the first date to reach the second, so two consecutive days are one day apart. That is how ages, anniversaries, and most deadlines are understood.

Some counts are inclusive instead. A three-day festival running Friday to Sunday includes both ends, and hotel stays confuse everyone because they are sold by nights, not days. If you need an inclusive total, simply add one to the standard difference. The important thing is to be clear, with yourself and anyone else involved, about which method you used.

Counting working days is a different job

The gap between dates counts every day on the calendar. It does not skip Saturdays, Sundays, or public holidays. That is the right answer for most legal periods and for anything measured in calendar time, but it will overstate how many days a team is actually at work between two dates.

If you are planning work, take the calendar figure as your outer frame, then knock off weekends and holidays to get the working time inside it. The 299-day stretch in the example above, for instance, contains 86 weekend days, before holidays are even considered. Presenting both numbers, calendar days and working days, stops a great deal of crossed wires in planning meetings.

Long spans, leap years, and other traps

Across several years, leap days quietly pile up. Any span covering 29 February gains a day, and a span from 2023 to the end of 2028 crosses two of them. People counting service length or record retention by hand usually miss at least one, which is exactly the sort of off-by-one error that surfaces years later.

Time zones and times of day can also nibble at the edges. A flight itinerary that crosses the date line, or a subscription that renews at midnight in another country, can look a day shorter or longer than expected. For date-only questions, which is what this tool answers, keep everything in plain calendar dates and you will stay out of trouble.

Here is the sort of job where the exact count earns its keep. A landlord, a school, or an employer rarely thinks in vague terms; they think in dates written into an agreement, and they count the gap exactly as this tool does. If a contract runs from 1 January 2026 to 27 October 2026, saying it lasted about ten months is true but useless for a final bill, while saying 299 days, or 9 months and 26 days, can be checked by anyone in seconds. Keeping the start and end dates alongside the answer is a good habit, because a bare number invites arguments about what was counted. Paste all three into the email or form, and the next person does not have to guess your method, redo the sum, or wonder whether a leap day in the middle was quietly forgotten.

Counting backwards: deadlines that live before the date

Plenty of deadlines are phrased backwards: submit the form thirty days before the event, give notice fourteen days before the term ends, book the inspection six weeks before completion. The fixed point is the later date, and the count runs in reverse, which is where calendars start getting crossed out and restarted. The method is the mirror of the usual one. Take the fixed date and subtract the period: thirty days before 27 October 2026 is 27 September 2026, and fourteen days before Christmas Day is 11 December. Set the event as the second date here and count back to your deadline, or simply run the pair in the order that gives the gap, then step that gap back from the event. Working backwards has one extra trap: people anchor on the wrong end and subtract from today instead of from the event. Today is rarely the reference point in a backwards deadline. The date in the document is, and counting from it keeps the deadline honest, however the sentence was phrased.

The other direction: turning a count into a date

Sometimes the count is the thing you are given and the date is what you actually need. A warranty runs ninety days from purchase, a probation period ends 180 days after a start date, a course finishes twelve weeks from enrolment. In each case the useful answer is a day on the calendar, not a number. The arithmetic is addition, and it catches people the same way subtraction does, one month boundary at a time. Ninety days from 15 January 2026 lands on 15 April 2026 — a tidy result that hides the work: sixteen days to finish January, February's twenty-eight, March's thirty-one, and fifteen into April. Get one month wrong and the date drifts by a day or two. Use the gap this page gives you as the raw material, then step it forward from your start date and write the resulting date down wherever the count is recorded. A deadline quoted as a date can be circled, diarised and checked; a deadline quoted as a bare count has to be re-derived by everyone who reads it.

Famous spans, counted exactly

History is usually told in rounded years, but its spans count out in days like everything else. The Second World War, from the invasion of Poland on 1 September 1939 to the formal Japanese surrender on 2 September 1945, puts 2,193 days between its first and last dates — six years and a day, carrying two leap days inside it. At the other extreme, Apollo 11 went from launch to splashdown in eight days: 16 July to 24 July 1969. The Hundred Years' War, meanwhile, is misnamed with some confidence — from 1337 to 1453 it ran 116 years. Round labels are memorable, but they are labels; the calendar underneath keeps its own exact tally. Counting a famous span is a good way to feel the scale of this calculator's ordinary work. The same subtraction that measures a tenancy or a notice period measures a war, a mission or a dynasty, and it is no harder — only longer. Two dates in, one honest gap out, whatever the century.

The dates between two dates, not just the count

Most people who search for the dates between two dates want a list, not a number. They want to know which days fall inside a span — the dates of a trip, the days a property is let, the sessions in a course — and a bare day count does not give them that. The list is easy to build once the gap is known: start on the day after the first date and step forward one day at a time until the day before the second date.

Take 10 March 2026 and 16 March 2026. The gap between them is 6 days, and the dates strictly between them are five: 11, 12, 13, 14 and 15 March. Count both endpoints as well and the span holds seven dates. The three numbers answer three different questions — how far apart, what falls inside, and how many days the whole span covers — so it is worth saying which one you mean before you quote a figure.

The same stepping method answers a narrower question: how many of a particular weekday fall inside a span. March 2026 holds four Saturdays — 7, 14, 21 and 28 March — and between 1 April and 1 October 2026 there are 26 Mondays. A span of whole weeks contains the same count of every weekday, so the only counting to do is in the leftover days at the end.

How to calculate time between dates by hand

A calculator does this sum in a second, but knowing how to calculate time between dates by hand is what lets you check the answer — and what saves you when the dates are on paper and the calculator is not. The reliable method is to add up whole months first, then the leftover days, one month at a time.

Take 1 April 2026 to 1 October 2026. April has 30 days, May 31, June 30, July 31, August 31 and September 30, which add to 183 days. That is 26 weeks and 1 day, or exactly 6 calendar months, since both dates fall on the first of the month. The same April-to-October span is 183 days in every year, because no February falls inside it.

A second example shows the part-month case. From 15 March 2026 to 15 June 2026, count 16 days to finish March, 30 for April, 31 for May and 15 into June, which totals 92 days — 13 weeks and 1 day, or exactly 3 calendar months. The check is the same in both examples: the weeks and the months must describe the same gap, so if they disagree, one month was remembered wrong. This gap is also called a date interval, the term spreadsheets and calendars use for the time between two dates.

Frequently asked questions about Time Between Dates Calculator

Should I include the start and end dates in my count?

Decide what you are counting. For elapsed time, such as a 90-day notice period, people usually count the days after the start date up to and including the deadline. For age or a simple difference, the standard subtraction excludes the start day. Whatever you choose, apply it consistently, and state the start and end dates in writing.

How do I turn days between dates into weeks?

Work out the whole weeks first. Between 1 January and 27 October 2026 there are 299 days, which is 42 full weeks and 5 extra days. Days divide neatly by seven, so keep the remainder rather than rounding. Rounding hides almost a week, which matters for deadlines, rotations, and anything paid by the week.

Why is counting months between two dates not exact?

Because months are not a fixed length. February has 28 days in most years, others have 30 or 31, so a month can mean several different day counts. For contracts and HR records, an exact day count is safer. If you need months, count whole calendar months between the same numbered days, then add the leftover days separately.

Does a leap year change the days between two dates?

Add one day for the leap day, 29 February, if your span includes it and starts before it. The year 2024 was a leap year, 2026 is not, and 2028 will be. This calculator handles leap years automatically, which is one reason long spans, such as five-year records, are better counted by a tool than on fingers.

What if the second date is before the first date?

Subtract days the way you would any timeline. Put the earlier date first and the later date second, and the result is the same whichever order you think in. A negative result only appears if dates are reversed in some spreadsheets. Here, the answer is given as a positive gap along with weeks and months for context.

Why does my spreadsheet give a different number of days?

Most likely the 1900 leap-year bug. Many spreadsheets deliberately treat 1900 as a leap year, copying an old Lotus 1-2-3 error, so any span crossing February 1900 gains a phantom 29 February and comes out one day longer than the real calendar. Spans after March 1900 are unaffected. An inclusive counting formula that adds both endpoints is the other usual suspect.

How many days are in the first half of a year?

In a non-leap year, 181 days: 31 in January, 28 in February, then 31, 30, 31 and 30. The second half has 184, because July and August both run to 31 days back to back. So the halves of a year are not halves at all, and a six-month deadline set in January lands three days shorter than one set in July.

Can I count the days between a BC date and an AD date?

Carefully, because there is no year zero. The year 1 BC is followed directly by AD 1, so subtracting the numbers across the boundary overstates the span by a year: from 2 BC to AD 2 is three years, not four. Historians sidestep this with astronomical year numbering, which does include a year zero. For any span inside one era, the count here works as normal.

How do I list all the dates between two dates?

Start on the day after the first date and write down each day until the day before the second date. The count of dates strictly between them is always one less than the gap in days: between 10 March and 16 March 2026 the gap is 6 days and the dates in between are 11, 12, 13, 14 and 15 March. If you need both endpoints included as well, the total is the gap plus one, which is 7 dates for that example.

How many weeks are there between April and October?

From 1 April to 1 October is 183 days, which is 26 weeks and 1 day — or exactly 6 calendar months. The figure is the same in every year, because the span never includes February. For other April and October dates, count the days first and divide by seven, keeping the remainder rather than rounding.

How do I calculate the time between two dates without a calculator?

Add up the days month by month: the days left in the starting month, each whole month in between, then the days into the final month. From 15 March to 15 June 2026 that gives 16 plus 30 plus 31 plus 15, which is 92 days. Then check the total by turning it into weeks — 92 days is 13 weeks and 1 day — because a mismatch between the two means one month was counted wrong.

How many weeks between April and October?

Take 1 April to 1 October 2026: the gap is 183 days, which works out as 26 whole weeks plus 1 day. Because both dates are the first of the month, the same span is also exactly 6 calendar months, and because no February falls inside it, the count is the same in a leap year too. A different pair of dates gives a different count — from 10 April to 20 October 2026 the gap is 193 days, or 27 weeks and 4 days — so always count from the exact dates rather than the month names.

What is a date calculator?

A date calculator counts between dates: give it two dates and it gives the gap in days, weeks or months. This page counts the gap between any two dates. From 1 January 2026 to 16 November 2026 is 319 days, which is 45 weeks and 4 days, or 10 months and 15 days. To add days to a date instead of counting between two, the add-subtract-days calculator on this site does that job.

Two related tools are worth knowing about here: the Add or Subtract Days, which readers use alongside this one, and the Day of the Week Finder for the follow-up calculation that usually comes next.