Utilities

Date Calculator

Add or subtract days, weeks, months and years from a date, add or count business days with Canadian, US or your own holidays, and find any date's weekday and ISO week.

Want the exact time between two dates instead? Use the Time Between Calculator.

About this tool

The Date Calculator answers the everyday date questions in one place. Add or subtract any mix of years, months, weeks and days from a date, and when a month is too short (January 31 plus one month) it tells you the day was moved to the end of February rather than quietly spilling into March. Switch to business days to find the date 10 working days from now or count the working days between two dates, with the days off you choose (Saturday and Sunday by default, or Friday and Saturday, or any mix) and holidays skipped. Built-in presets compute Canada's ten federal statutory holidays and the eleven US federal holidays for any year, including Easter-based Good Friday, nth-weekday holidays like Thanksgiving and Victoria Day, and the observed weekday when a holiday falls on a weekend; you can also paste your own list of dates. A third tab shows a date's day of the week, ISO week number, day of the year, quarter and how many days until or since it. Dates are handled as plain calendar days, so time zones and daylight saving never shift the answer, and everything runs in your browser.

How to use the Date Calculator

  1. Pick a tab: Add or subtract, Business days, or Date info.
  2. To shift a date, enter the start date and any mix of years, months, weeks and days, then choose Add or Subtract.
  3. For working days, choose whether to add business days or count them between two dates, then set which weekdays are days off.
  4. Choose Canadian or US federal holidays, or type your own dates, so holidays are skipped.
  5. Read the result as it updates, and copy the date with its copy button.

Use it from your code

The Date Calculator is also a REST API endpoint. Create a free API key and call it from your own scripts and apps.

# Add one month and two weeks
curl -X POST https://opentools.ca/api/v1/tools/date-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "add",
  "startDate": "2026-01-31",
  "months": 1,
  "weeks": 2,
  "referenceDate": "2026-11-25"
}'

# Five business days after Dec 18, skipping Canadian holidays
curl -X POST https://opentools.ca/api/v1/tools/date-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "add-business-days",
  "startDate": "2026-12-18",
  "businessDays": 5,
  "holidayPreset": "ca-federal"
}'

# Business days in December
curl -X POST https://opentools.ca/api/v1/tools/date-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "count-business-days",
  "startDate": "2026-12-01",
  "endDate": "2026-12-31",
  "holidayPreset": "ca-federal"
}'

# Facts about a date
curl -X POST https://opentools.ca/api/v1/tools/date-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "date-info",
  "date": "2026-12-31",
  "referenceDate": "2026-11-25"
}'

Give us your feedback

Help us improve Date Calculator!

Frequently asked questions

What is January 31 plus one month?

February 28, or February 29 in a leap year. When the target month does not have the starting day, the date moves back to that month's last day, which is how spreadsheets (EDATE) and most contracts handle it. The calculator tells you whenever this happens.

Does the start date count as a business day?

When adding business days, no: 1 business day after Friday is Monday. When counting business days between two dates, you choose whether the start and end dates are included. With both included, Monday to Friday of one week is 5 business days.

Which Canadian holidays are included?

The ten general holidays for federally regulated workplaces under the Canada Labour Code: New Year's Day, Good Friday, Victoria Day, Canada Day, Labour Day, the National Day for Truth and Reconciliation (from 2021), Thanksgiving, Remembrance Day, Christmas Day and Boxing Day. Provincial holidays such as Family Day or Civic Holiday vary by province, so add those in Your own holidays.

How are holidays on a weekend handled?

With observed dates turned on, US federal holidays on a Saturday move to the Friday before and those on a Sunday to the Monday after (so New Year's Day 2028 is observed on Friday, December 31, 2027). For Canada, New Year's Day, Canada Day, Truth and Reconciliation Day, Remembrance Day, Christmas and Boxing Day move to the next weekday, so a Saturday Christmas gives Monday and Tuesday off. The Canada Labour Code also allows the working day before; employers may differ.

Can daylight saving time or my time zone change the answer?

No. The calculator works with calendar dates (year, month and day) rather than clock times, so a day is always a day, even across a daylight saving change. "Today" is taken from your own device.

How is the ISO week number worked out?

ISO 8601 weeks start on Monday, and week 1 is the week that contains the year's first Thursday. That means January 1 can fall in the last week of the previous year, and some years have 53 weeks.

Date Calculator screenshot