BobaTools

Calendar & dates

Date Calculator

Enter two dates to see how many days are between them, or add and subtract days from a date. It also counts business days and works out an exact age.

End date minus start date: Dec 1 to Dec 3 is 2 days. Use this for how many days are left, or how many have passed.

Runs entirely in your browser. Nothing you type is uploaded.

Key points

  • The BobaTools date calculator counts the days between two dates as the end date minus the start date, so December 1 to December 3 is 2 days, or 3 days with both dates included.
  • The BobaTools date calculator also shows the gap as years, months and days, and as weeks and days.
  • Adding one month to January 31 in the BobaTools date calculator gives February 28, or February 29 in a leap year, because a month with no matching day uses its last day.
  • Business days in the BobaTools date calculator are Monday to Friday. No country's public holidays are removed.
  • The BobaTools date calculator works in whole days for the years 1 to 9999, so time zones and daylight saving time do not change the result.

How do you count the days between two dates?

  1. 01Open the Days between tab. The start date is set to today and the end date to next January 1.
  2. 02Type the start date and the end date, or press the calendar button to pick them.
  3. 03Turn on Include both the start and end date if the first and last day should both count.
  4. 04Read the total days, the same gap in years, months and days, the number of weeks, and the business days in the range.
  5. 05Press Copy result to copy the figures as text.

How many days are between two dates?

Subtract the start date from the end date. The calculator does this for you: January 1, 2026 to December 25, 2026 is 358 days, and November 28, 2026 to January 1, 2027 is 34 days.

The result is in whole days. Hours are not involved, so a change to or from daylight saving time between the two dates makes no difference.

If the end date is earlier than the start date, the calculator still gives the number of days and tells you it is counting backwards.

Does the count include the start date and the end date?

By default it does not include both. The count is the end date minus the start date, so December 1 to December 3 is 2 days. This is the usual answer to how many days until a date, or how many days have passed since one.

Turn on Include both the start and end date to count the first and last day, which makes December 1 to December 3 into 3 days. Use it for the length of a trip, an event, a period of leave or a hospital stay, where the first and last day are both days you were there.

The business day count always includes both dates, whichever way this switch is set.

How are the years, months and days worked out?

The calculator counts whole months forward from the start date, then counts the days left over. March 15 to June 20 is 3 months and 5 days: three months takes you to June 15, and five days are left.

Months have different lengths, so a start date at the end of a month needs a rule. When the month you land in has no matching day, the calculator uses its last day. From January 31, one month later is February 28, or February 29 in a leap year. So January 31, 2026 to March 1, 2026 is 1 month and 1 day, although only 29 days have passed.

Because of this, the years, months and days figure depends on which months the range covers. If you need a number that is the same everywhere, use the total days.

How are leap years handled?

February 29 is counted in every leap year. A year is a leap year if it divides by 4, except century years, which must divide by 400. So 2024 and 2028 are leap years, 2000 was, and 2100 will not be.

A full year from January 1 to the next January 1 is 365 days, or 366 if the range includes a February 29.

The calculator uses today's calendar, the Gregorian calendar, for every year from 1 to 9999. It does not allow for the days that were skipped when countries changed from the older Julian calendar, so treat results for dates before about 1600 with care.

How do you add days to a date, or subtract them?

Open the Add or subtract tab, enter the start date, choose Add or Subtract, type an amount and pick days, weeks, months or years. March 15, 2026 plus 100 days is June 23, 2026. The Common buttons fill in 7, 30, 90 and 180 days, 6 months and 1 year.

Adding months or years keeps the same day of the month. When that day does not exist, the result is the last day of the month, and the calculator says so under the result.

A period that starts on a date usually ends the day before the matching date: six months starting January 15 ends on July 14, and not July 15. Turn on Find the last day of the period to get that date. The rule for when a deadline or notice period ends varies between countries and contracts, so check the one that applies to you.

How do you count business days between two dates?

Open the Business days tab. The calculator counts every Monday to Friday from the start date to the end date, with both dates included, and shows how many weekend days it left out.

It does not remove public holidays. They are different in every country, and often in each state or region, so no holiday list is built in. Subtract the holidays that fall on a weekday in your range from the result.

The same tab can go the other way: choose The date N business days from a date to find, for example, the date 10 business days after an order was placed. The start date is not counted unless you turn on Count the start date as day 1.

If your working week is not Monday to Friday, this count will not match your calendar.

How do you calculate the days between dates in Excel?

Put the start date in A1 and the end date in B1. The plain subtraction =B1-A1 gives the number of days. If the cell shows a date, change its format to Number. =DAYS(B1,A1) gives the same result, with the end date written first.

=DATEDIF(A1,B1,"d") also returns days. Change the last part to "m" for whole months or "y" for whole years, and use "ym" for the months left after the whole years. The start date has to be the earlier one, or Excel returns #NUM!. Microsoft warns that the "md" unit can give wrong results, so avoid it.

For business days, =NETWORKDAYS(A1,B1) counts Monday to Friday with both dates included, the same way this page does. It accepts a list of holiday dates as a third argument.

All of these work the same way in Google Sheets.

How do you work out an exact age?

Open the Age tab and enter the date of birth. The calculator gives the age in years, months and days on today's date or on any date you choose, with the number of days lived and the date of the next birthday. For a child under 3 it also shows the age in months and in weeks.

Someone born on February 29 has no birthday in three years out of four. This calculator adds the year on March 1 in those years. Some places use February 28 for legal purposes.

To turn a date of birth into a single digit the numerology way, use the life path number calculator.

What can't the date calculator do?

  • It does not count hours, minutes or seconds. To count down to a moment today, use the online timer.
  • It does not know public holidays, school terms or your employer's calendar.
  • It does not read dates written with numbers only in day-month-year or month-day-year order, such as 12/8/2026, because that date means two different days depending on where you live. Type the year first, or use a month name.
  • It does not give legal advice on deadlines. The way a notice period, a limitation period or a filing deadline is counted depends on the law or contract involved.
  • It does not pick a date at random. For that, turn the dates into a number range and use the random number generator.

Frequently asked questions

How many days until a date?
Leave the start date as today, enter the date you are waiting for as the end date, and keep Include both the start and end date turned off. The total is the number of days still to go.
How many weeks are between two dates?
The result shows weeks next to the total days. It is the total divided by 7, with any days left over, such as 4 weeks, 6 days for 34 days.
How do you write the dates?
Type the year first, such as 2026-12-08, 2026/12/8 or 20261208, or use a month name, such as Dec 8, 2026 or 8 December 2026. You can also pick a date from the calendar button.
What is 30 days, 60 days or 90 days from today?
Open the Add or subtract tab, leave the start date as today and press +30 days or +90 days. For 60, type 60 as the amount. The result shows the date and its day of the week.
Which date does Today use?
The date on your own device, in your own time zone.
How far back and forward does it go?
From the year 1 to the year 9999. You can add or subtract up to 100,000 days, weeks, months or years at a time, and count forward up to 3,000 business days.
Are the dates I enter saved or uploaded?
No. The calculation runs in your browser, and the dates are not sent to our servers or kept after you close the page.
Is the date calculator free? Do I need an account?
It is free and needs no account. Open the page and use it.

Sources