Number of Days Calculator Icon

Number of Days Calculator

Calculate the number of days between two dates.

  • Created by Lisa Johnson
  • Reviewed by Ramesh Agarwal

Total days:

Table of Contents

* Total number of days includes both the start and end dates.

Day Counter Tool to Calculate Days from Dates

The countdown days calculator is a handy tool that lets users quickly calculate the number of days between dates. For example, you can use it when you are calculating your birthday or your next vacation. Whatever the occasion, you can use the day counter as a quick reference.

How to use the number of days calculator

The days calculator allows you to calculate the number of days between two dates. It is useful for finding out how many days there are between a specific date and today, as well as calculating time differences between two or more dates. Just enter the two dates you wish to compare in the boxes below and press the "calculate" button.

How to countdown days without weekends?

We've included an option to count days and exclude weekends. This is slightly different from a business day calculator. A business day calculator would also ignore the public holidays along with the weekends.

When using the free calculator on this page, you can select the only count week days option to determine the number of working days between two dates. In other words, you can use it to make business decisions based on the number of business days, and not include weekends.

Some common use cases for business day calculators include:

  • count how many work days before your vacation
  • calculate business days left in month
  • calculate number of work days till deadline

All you have to do is enter the date of the start and end of the period you want to calculate and the business day calculator will automatically calculate the number of business days.

How to calculate days between two dates?

Calculating the difference between two dates manually can be an arduous task. Thankfully, there are a few ways to do this. In this article we'll go over a few ways to calculate the number of days between dates. The easiest way is to use a number of days calculator to get the total number of days between dates instantly.

Using the calculator above, select the start date and end date using the countdown days calculator and press calculate. The script will calculate days from date and give you the total days (inclusive of start and end dates).

Count days between two dates

How to calculate days from two dates?

The date calculator converts both dates into epoch timestamps (seconds since January 1, 1970), then subtracts the start value from the end value.

Using the difference in the two timestamps, the date calculator will then divide the difference by 86400 (the exact duration of 1 day in seconds).

You can get the time in 1 day with this calculation:
60 * 60 * 24 = 86,400 seconds in 1 day

How to manually calculate days between dates

Sometimes you just want to how many days between two dates. Dates can be tricky because they have a lot of components: the year, the month, the day of the month, the hour of the day, the minute of the hour, and more. Sometimes, you just need to know how many days are between two dates.

Maybe you want to know how many months have passed since you returned home from a trip, or how many days are left until your mom's birthday. You might want to know how many days there are until an important deadline or the number of days until your wedding.

No matter what your reasons may be, there's a simple way to find out how many days between two dates.

History of the Gregorian calendar

The Gregorian calendar is internationally the most widely used civil calendar. It is named after Pope Gregory XIII, who introduced it in October 1582. The calendar spaces leap years to make the average length of the calendar year (365.2425 days) closer to the length of the tropical year (365.2422 days). It was a modification of the Julian calendar.

The motivation for the Gregorian reform was to solve the issue of the calendar drifting further away from the equinoxes and solstices—particularly the winter solstice—which occurs on December 22 or 23, on the Julian calendar.

What is the Julian calendar?

The Julian calendar was introduced by Julius Caesar in 45 BC, making it the oldest verified calendar in existence. It was the first calendar to have leap years. It was used by the Roman Empire, and many countries around the world continue to use the calendar.

A leap year is every year divisible by four. The Julian calendar is a solar calendar, meaning that it is based on the position of the earth in relation to the sun.

Why use a countdown days calculator?

Counting the days between two dates is a good way to get a more transparent understanding of the time duration between two dates. It is much easier to understand what can be done within 35 days than it is to comprehend what's possible within 5 weeks.

When we are break down tasks into smaller durations our accuracy of the time required is much higher. So being able to determine the time difference in days can be very helpful, especially when used as a business day calculator (calculating days between dates without weekends).