Stavekit

Date calculator

Count the time between two dates, including weekdays, or add and subtract days, weeks, months or years from a date.

Advertisement

Add or subtract time from a date

Advertisement

Counting the days between two dates

The first calculator counts calendar days from the start date to the end date. By default the start day is counted and the end day is not, the way you would count nights in a hotel or the length of a loan. Tick “Include the end date” when both days should count, for example for a holiday that starts on Monday and ends on Friday (5 days, not 4).

Besides the total number of days you get the period in years, months and days, the number of full weeks, the number of weekdays (Monday to Friday) and weekend days, and the duration in hours and minutes. If you enter the dates in the wrong order the calculator swaps them and tells you.

Adding or subtracting time

The second calculator answers questions such as “what date is 90 days from today?” or “what was the date 18 months ago?”. Enter a date, an amount (negative to go back) and a unit. Adding months keeps the same day of the month when it exists; adding one month to 31 January gives 28 or 29 February. Tick “Count weekdays only” to skip Saturdays and Sundays, which is useful for delivery times and working-day deadlines.

Things to keep in mind

  • Public holidays differ by country and region, so they are not removed from the weekday count. Subtract them yourself if a deadline is in working days.
  • Legal and contractual deadlines sometimes have their own counting rules, for example starting the day after a notice is received.
  • Time zones and daylight saving time do not affect the result, because only whole calendar days are counted.

Typical uses include counting down to a wedding or exam, checking the length of a contract, calculating notice periods and planning projects. Everything is calculated in your browser.

A worked example

How long is it from 15 March 2026 to 2 November 2026? The calculator counts 232 days. In calendar terms that is 7 months and 18 days, or 33 full weeks and 1 day. Of those days, 165 are Monday to Friday and 67 fall on weekends. If you tick "Include the end date", the total becomes 233, which is what you want when both the first and the last day count, such as for a hotel booking counted in days rather than nights, or a leave request that covers both dates.

Deadlines and notice periods

Contracts, rental agreements and legal procedures often set periods like "30 days after notice" or "within 14 days". The add and subtract section answers these directly: enter the start date, the number of days and the unit. Be aware that legal deadlines can follow special rules, for example moving to the next working day when the last day falls on a weekend or a public holiday. The calculator does the calendar arithmetic; the applicable rule still needs checking.

Business days

When you need working days, the business-days option skips Saturdays and Sundays. This suits estimates for delivery times, payment terms or project schedules. Public holidays differ by country and region, so they are not removed automatically. Count the holidays in your period and subtract them yourself, or add the same number of days to a deadline to compensate.

Frequently asked questions

Does the calculator include the end date?

Not by default. Tick “Include the end date” to add one day, which is how most people count holidays and events that last several days.

Are public holidays excluded from weekdays?

No. Holidays vary by country, so only Saturdays and Sundays are excluded. Subtract public holidays yourself if needed.

How do I find the date 30 days from today?

Use the second calculator: today's date is filled in, enter 30, choose Days and click Calculate date.

What happens when I add a month to 31 January?

The result is the last day of February, because February has no 31st. The calculator never skips into March.

How many weeks are between two dates?

Enter both dates and read the weeks line in the result. It shows the number of full weeks plus any remaining days, so 45 days is shown as 6 weeks and 3 days.

Does the calculator handle time zones and daylight saving time?

It works with whole calendar days, so time zones and clock changes do not affect the result. A day is counted as a day even when it is 23 or 25 hours long.