Days Calculator 📅 (Days Between Dates) (2024)

Use this days calculator to easily calculate the number of days between two dates. Find out how many days are between calendar dates, number of days since an event or from a given date. The date difference calculator also outputs weeks between dates, months and years between dates.

Quick navigation:

  1. How to do days calculations
  2. How many days are between two dates?
  • Calendar days
  • Weekdays
  • Working days
  • Time between dates
    • Weeks between dates
    • Months between dates
    • Years between dates
  • What calendar do we use?
  • How to do days calculations

    Sometimes you just need to find out how many days you have to finish an assignment or how long a trip is going to be. Using this days between dates calculator is easy and quick as long as you have the first and the last date of the period of time you are interested in. You can choose whether to include the last day in the calculations or not.

    Example: You need to find out how many days are between June 23rd and September 15th 2022. If you choose to exclude the final day, the result will be 84 days. If you wish to include the last day in the result, this would be 84+1, resulting in 85 days total.

    This days calculator can be used to find the number of days between any two calendar dates e.g. days since a date in past till today, or days from a given date till now. Wondering how many days are between Thanksgiving and Independence day? How many days between Halloween and Thanksgiving? Our tool has the answers - simply enter the two dates of interest.

    How many days are between two dates?

    It may look like a simple question, but the answer actually depends on the definition of what is meant by a "day" in the context of the question. There are three most common approaches required in most problems of calculating the time between dates.

    Calendar days

    With calendar days one needs to simply calculate how many days there are between the given dates. The math is straightforward with the only complications arising when the time span includes the end of one or more years. That complication is factoring in leap years. Leap years are years with an extra day (versus a regular year) and are necessary in order to keep the calendar in alignment with Earth’s revolutions around the Sun, as it takes about 365 days, 5 hours and 48 minutes for Earth to make a full circle. If leap years are not calculated into the calendar, we would lose about 24 days every 100 years [2].

    Say you are an expecting parent and today is the first day of November. If the due date is before the end of February next year then leap years do not matter, but if it is after that they may. If the following year is a leap one, then there would be one extra day between now and the due date as opposed to if it was a typical year. This how many days calculator does take into account leap years automatically and so does our counter for the count of days between two dates.

    Weekdays

    In some scenarios one is only interested in how many weekdays there are between two dates. This happens in business when one may state a contract term or offer to perform a given service in N weekdays. However, it is more common to state such terms in business days, as discussed below.

    Working days

    It is common for business contracts to state the execution time for a certain amount of work, or the delivery terms for goods or services in terms of business days, otherwise known as working days or "bank days" in some cases. While it varies by country, in general working days include all weekdays minus any official holidays such as those due to important state or religious holidays.

    Time between dates

    While calculating how many days are there between dates, it is a bit more complicated when other time measurement units are concerned. Here is how to convert the time between dates into weeks, months, years, and even centuries.

    Weeks between dates

    Starting from the number of days between the dates, it is very easy to find the number of weeks between them since a week has a strict definition that does not change depending on the calendar time. Simply divide the number of days by seven. For example, if there are 28 days between two dates, the number of weeks is calculated as 28 / 7 = 4 full weeks.

    Months between dates

    To find out the number of months between two dates, one needs to consider the order in which months duration changes, as well as leap years. Some months have 31 days, other 30, and February has either 28 or 29 days depending on it being a leap year or not. For more details see our months between dates calculator.

    Years between dates

    The number of years between any two dates is a bit easier to calculate. A year has either 365 days for a regular year or 366 days for a leap year. You can use a leap year calculator to count the number of leap years between the days. To calculate the number of years from the days between the dates:

    1. Multiply the number of leap years by 365
    2. Subtract the result from the number of days
    3. Divide the remaining number by 365 and add it up with the number of leap years

    What calendar do we use?

    There are three main kinds of calendars currently being used around the world: solar, lunar and solilunar or lunisolar. The date calculator is based on the Gregorian calendar, which contains 365 days in a typical year and 366 in a leap year. This is a solar calendar named after Pope Gregory XIII who introduced it in 1582. It was first used in Catholic countries in Europe, consequently replacing the Julian calendar (introduced earlier by Julius Caesar) which it is based on, the Islamic, and others. Greece was the last European country to adopt it in in 1923, while it was adopted in the British Empire and most of its colonies, including American, in 1752.

    The calendar is currently used throughout most of the world. Some countries have chosen to modify it, others use it alongside their old calendars. There are only a few who have not adopted it at all to this point.

    Most countries use the Gregorian as their civil calendar, which means it is used for general everyday purposes: administrative, civil, and official. Typically these countries would also have other calendars used simultaneously, such as ones based on religion (Christian Orthodox, Catholic, Islamic, Hebrew, etc.).

    There are about forty calendars in the world, including the Chinese, the Persian, the Mayan, the Egyptian, the Islamic, the Bulgar, the Hijri, the Roman [1].

    Days Calculator 📅 (Days Between Dates) (1)

    Due to the change in calendars in the West, there exist the terms Old Style (OS) and New Style (NS). They are found in history books where historians are referring to past events which took place when the Julian calendar was used.

    Not remembering the length of all months or not knowing whether a particular year is a leap year or not may hinder you when trying to calculate days between dates. This tool covers all of these issues and all you need to know is the first and last date of the time interval you are interested in to accurately count days.

    References

    1 Calendars. (n.d.). In Wikipedia. Available at https://en.wikipedia.org/wiki/List_of_calendars

    2 "What Is a Leap Year?". Available at https://www.timeanddate.com/date/leapyear.html

    Days Calculator 📅 (Days Between Dates) (2024)

    FAQs

    How do I calculate the exact days between two dates? ›

    To calculate the number of days between two dates, you need to subtract the start date from the end date.
    1. If this crosses several years, you should calculate the number of full years.
    2. For the period left over, work out the number of months.
    3. For the leftover period, work out the number of days.
    Jan 18, 2024

    What is the formula for the number of dates between two dates? ›

    e.g., start date in cell A1 and end date in cell B1, use the formula =B1 - A1.

    How do you calculate the duration between two times? ›

    Calculate the duration between two times

    First, identify the starting and an ending time. The goal is to subtract the starting time from the ending time under the correct conditions. If the times are not already in 24-hour time, convert them to 24-hour time. AM hours are the same in both 12-hour and 24-hour time.

    What is the formula for dates to days? ›

    =DAYS (end_date, start_date)

    They are the two dates between which we wish to calculate the number of days.

    How do I calculate the number of days between two dates in sheets? ›

    DAYS function: Computes the difference between two dates. Simple syntax: =DAYS(end date, start date). DATEDIF function: Offers more detailed results, such as the difference in days, months, or years. Syntax: =DATEDIF(start date, end date, “D”) where “D” signifies days.

    What is the formula for number of working days between two dates in Excel? ›

    =NETWORKDAYS(start_date, end_date, [holidays])

    The function uses the following arguments: Start_date (required argument) – Start_date can either be earlier than end_date, later than end_date, or same as end_date. End_date (required argument) – The end date.

    How do you calculate the time between two dates in weeks? ›

    How to calculate the number of weeks between two dates
    1. (Start date - End date) / 7 days per week = Weeks between two dates (with decimal)
    2. Example.
    3. (3/15/2021 - 3/2/2021) = 13 days.
    4. 13 days / 7 days per week = 1.857 weeks.

    What is the formula for date working days? ›

    Open Excel and select the cell where you would like the result to be displayed. Enter the formula “=WORKDAY(start_date, num_days)” in the selected cell. Replace “start_date” with the desired starting date and “num_days” with the number of days to add or subtract. Press Enter to calculate the result.

    How to calculate number of days between two dates in open office? ›

    Syntax: DAYS(t1; t2)

    The minus sign appears in the result because OpenOffice.org Calc always subtracts t2 from t1 (t1 – t2). Remember that you can remove the minus sign with the ABS function, but you need to watch out for errors that such shortcuts may introduce to your calculations: =ABS(DAYS("12/15/2010"; ...

    How do you calculate the number of days between dates? ›

    To calculate the time between two dates and times, you can simply subtract one from the other.

    What is the easiest way to calculate day from date? ›

    Calculate What Day of the Week it is With Our Simple Formula
    1. Take the last two digits of the year.
    2. Add to that one–quarter of those two digits (discard any remainder).
    3. Add to that the day of the month and the Month Key number for that month: Read Next. ...
    4. Divide the sum by 7. The remainder is the day of the week!
    May 6, 2024

    Is there a formula in Excel to calculate days between dates? ›

    To find the number of days between these two dates, you can enter “=B2-B1” (without the quotes into cell B3). Once you hit enter, Excel will automatically calculate the number of days between the two dates entered. Note that Excel recognizes leap years.

    How do you calculate exact years between two dates? ›

    But it's straightforward to calculate the number of whole years between two dates:
    1. Take the year number of the current date. That's 2022, in this example.
    2. Then take the year number of the date in the past. 2013, in this case.
    3. Subtract 2013 away from 2022.
    4. The result is 9 years.
    Jan 18, 2024

    How do you calculate what day a certain date was? ›

    Follow the example as you read along:
    1. Take the last two digits of the year.
    2. Add to that one–quarter of those two digits (discard any remainder).
    3. Add to that the day of the month and the Month Key number for that month: Read Next. When Is Easter 2025? ...
    4. Divide the sum by 7. The remainder is the day of the week!
    May 6, 2024

    How do you calculate days between two dates in moments? ›

    Date difference with Moment objects

    var admission = moment('{date1}', 'DD-MM-YYYY'); var discharge = moment('{date2}', 'DD-MM-YYYY'); discharge. diff(admission, 'days'); Instead of days you can also use: 'months', 'years', or 'weeks' depending on what you would like to measure.

    References

    Top Articles
    Latest Posts
    Recommended Articles
    Article information

    Author: Neely Ledner

    Last Updated:

    Views: 5848

    Rating: 4.1 / 5 (62 voted)

    Reviews: 93% of readers found this page helpful

    Author information

    Name: Neely Ledner

    Birthday: 1998-06-09

    Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

    Phone: +2433516856029

    Job: Central Legal Facilitator

    Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

    Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.