CoreGPT
Dates · Free

Date Calculator

Find out how many days, weeks and months are between two dates, or add and subtract days, weeks, months and years from any date.

From 1 March to 2 March is 1 day. Tick the box to count both days, for example for a hotel stay or a leave request.

Result
Take it further

Let AI write your date formulas in Excel.

CoreGPT builds DATEDIF, EDATE and deadline formulas right in your spreadsheet. Describe what you need in plain words.

Get CoreGPT for Excel

The date calculator answers two everyday questions. How long is it between two dates? You get the answer in days, in weeks and days, in months and days, and in years, months and days. And what date is it a given time from now? Add or subtract any number of years, months, weeks and days and see the date, its weekday and its week number. Months are added the way Excel does it, so the 31st moves to the last day of a shorter month. Under each result you get the Excel formula that gives the same answer.

  • Counting the days until a deadline, trip or event
  • Working out someone's exact age in years, months and days
  • Finding the date 90 days after an invoice or contract start
  • Checking how many weeks are left in a project or pregnancy
  • Finding the week number of a date for planning
  • Tick 'Include the end date' when both the first and last day count
  • For business days only, use the Working Days Calculator instead
  • When adding months, check end-of-month dates such as 31 January
  • In Excel, subtract two dates (=B2-A2) to get the days between them
  • Use DATEDIF with "y", "ym" and "md" for years, months and days

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

Enter the start and the end date. The calculator subtracts them and shows the total days, plus the same span in weeks, months and years.

Does the result include the end date?

Not by default: from Monday to Tuesday is 1 day. Tick 'Include the end date' to count both days, which adds 1.

How do I add days or months to a date?

Switch to Add or subtract, choose the start date and enter the years, months, weeks or days. The result shows the new date and its weekday.

How do I do this in Excel?

Subtract the cells (=B2-A2) for days, use DATEDIF(A2,B2,"y") for full years, and EDATE(A2,3) to add three months to a date.