🛠️

date calculator

Calculate the difference between two dates, or add and subtract days, weeks, months, and years.

Years
Months
Weeks
Days

About Our Date Calculator

Using dates can be very confusing! Be it deadlines, anniversaries, holiday dates, project dates, contracts or medical dates. How many days between now and December 31st? What date will it be if I add 6 months to January 31st? How many weeks until I have my holiday?

Our date calculator can help you with all of these questions instantly. It has two functions, one to find the exact time between dates and the second to add or subtract days, weeks, months and years. It takes into account leap years, different number of days in months and handles all of the edge cases.

Using Our Date Calculator

There are two functions available:

Date Difference

  1. Click the 'Difference Between Dates' tab.
  2. Type your 'From Date' and 'To Date'.
  3. Click the quick date buttons (Today, Last week, Last month) to automatically populate your 'From' date.
  4. Check the box for 'Include end date' if you want to include both the start and end date (Useful for calculating dates for hotel stays, subscriptions etc).
  5. Instantly the calculator will give you the result showing you the exact number of years, months and days and the total number of days, weeks, hours and minutes.

Add / Subtract

  1. Click the 'Add / Subtract' tab.
  2. Type your 'Start Date'.
  3. Select whether you want to 'Add' or 'Subtract'.
  4. Now type in the number of years, months, weeks and / or days you want to add or subtract. You can add any combination of years, months, weeks and days.
  5. The calculator will show you the new date including the day of the week, ISO week number and how many days left in the year.

Why Use Our Date Calculator

Whilst there are many date calculators online, we have made ours with a couple of key features.

  • We have two calculators in one!
  • Our calculator accounts for leap years and different numbers of days in each month.
  • We give you a detailed result showing you the exact number of years, months and days rather than just the total number of days.
  • When adding or subtracting, we give you more information such as the day of the week, ISO week number and days left in the year.
  • Your data is secure as everything is calculated in your browser.

Popular Uses For A Date Calculator

People use date calculators for:

  • Finding someone's exact age or length of time worked.
  • Find out how many days until their holiday, wedding or deadline.
  • Calculate how many days are left on their project.
  • Calculate legal deadlines (30/60 days etc).
  • Find out when their subscriptions / contracts finish.
  • Plan events and check availability.
  • Calculate approximate business days.

How Is It Calculated?

The date difference is a little more complex. We look at the year, month and day separately to give you an accurate result. If the day of your end date is less than the day of your start date we minus one month from the month and add the number of days in that month.

When adding or subtracting we simply add the years, months, weeks and days in that order. Using standard JavaScript Date functions.

FAQs

What is a date calculator?

A date calculator can help you find the difference between dates or add / subtract days, weeks, months and years to a start date.

What does Include end date mean?

By default we will calculate the difference between your dates without including either date. If you select Include end date we will include both the start and end date. This adds an extra day onto your result. This is useful in determining the period of time between two dates, like when you stayed in the hotel.

Does it consider leap years?

Yes! We use standard Gregorian calendar rules. Leap years (366 days, February has 29 days) are taken into account. Adding 1 year to February 29th 2024 will give you February 28th 2025.

Can I add months to a date like January 31st?

Yes! If you add 1 month to January 31st it will depend on what month you are adding. If the month has fewer days (February) it will show you the last day of that month. We use standard JavaScript Date functions.

What is an ISO week number?

An ISO week number is a standardised way of showing the week number. Used globally in businesses and government. The first week of the year is the week that contains the first Thursday. Our calculator will show you the ISO week number.

How do I use the quick date buttons?

When using the Date Difference function you can click any of the buttons to quickly add the correct date to your 'From Date'. For example, clicking Last week will add exactly 7 days to your 'From' date.

Will my date be saved / shared?

No! All calculations are completed in your browser using JavaScript. We will never send your dates to a server or save them. You can even use our calculator whilst offline.

Can I calculate the number of working days between two dates?

No. This calculator will only show you the total number of days. If you want to know how many working days (Not including weekends and holidays) you will need to use our Business Day Calculator. However, the total number of days can be a good starting point when calculating manually.

Other Tools You May Like

If you found our date calculator useful you may also like our Age Calculator to track someone's exact age, Percentage Calculator to do some quick maths or BMI Calculator.