How many days between two dates
Two questions, one tool: how long is it from one date to another, and what date do you reach if you count forwards or backwards. The result comes with the day of the week, the week number and the breakdown into years, months and days.
- Free
- No sign-up
- Runs in your browser
- Nothing is transmitted
Did this help you? Buy me a coffee
Common questions
- Does the last day count?
- Both numbers are shown, because both are right depending on what you are counting. The plain difference between 8 and 10 November is two days – that is the answer for “how long until”. Counting the last day as well gives three, and that is how holiday entitlement, hotel nights and notice periods work: the first and the last day both count. Reading the wrong one of the two is the most common mistake with date calculators, so neither is hidden here.
- Why does 31 January plus one month give 28 February?
- Because a month has no fixed length. “One month later” stays inside the month: 31 January plus one month is 28 February, and 29 February in a leap year. Adding 30 or 31 days instead would land you in March, which is not what anyone means by a month. The same rule applies to years: 29 February plus one year is 28 February.
- Why does the breakdown say “1 month, 1 day” and not “29 days”?
- Those are the same span, counted in different units. From 31 January to 1 March is 29 days; in calendar units it is one month and one day, because 31 January plus a month is 28 February and from there it is one day. The breakdown is built so that you can add it back on and arrive at the same date – a breakdown that does not survive being added back is of no use.
- Are public holidays deducted from the working days?
- No, and that is deliberate. The figure counts the days from Monday to Friday, nothing more. Public holidays depend on the country and, in Germany, on the state – Corpus Christi is a holiday in Bavaria and a normal working day in Berlin. A number that silently assumed one of them would be wrong for most visitors, so this tool states what it counts instead.
- Calendar days or working days – which do I need?
- Calendar days count every day, Saturdays and Sundays included; working days count only Monday to Friday. Contracts, notice periods and deadlines almost always mean calendar days – “within 14 days” does not stretch over a weekend. Working days are what you need for delivery times and for anything that depends on somebody being at work. Both figures stand side by side here, so you do not have to decide before calculating.
- How many weeks is that?
- That stands right under the number of days: 25 days are 3 weeks and 4 days, 100 days are 14 weeks and 2 days. Months are listed too, but counted by the calendar rather than as blocks of 30 – from 15 March to 15 May is exactly 2 months, even though those two months hold 61 days. Which of the two numbers you want depends on what you are counting: weeks for a stretch of time, calendar months for a notice period or a contract.
- What is the week number good for?
- It is how production, logistics and school calendars in Europe refer to time: “week 45”. The counting follows ISO 8601, which is the usual rule in Germany: a week starts on Monday, and week 1 is the one containing the first Thursday of the year. That is why 1 January can still belong to week 52 or 53 of the previous year – which is also why the year is shown next to the week.
- Do my dates get sent anywhere?
- No. This is arithmetic, and your browser does it. There is no server involved, no account and no log. The date you enter stays on your device, which also means the tool keeps working when you take the device offline.
Why we do not count in milliseconds
The quick way to find the days between two dates is to subtract two timestamps and divide by 86,400,000. It is also wrong twice a year: where clocks go forward or back, a calendar day is 23 or 25 hours long, and the division then yields 0.96 or 1.04 days. Rounding hides it most of the time and produces an off-by-one day the rest of the time.
This tool therefore never works in milliseconds. It converts each date into a day number – a plain count of days – and subtracts those. No time of day, no time zone, no daylight saving: a calendar day is a calendar day, and the result is the same for every visitor wherever they are.
Related tools
All tools of this kind: Everyday tools