How the date calculator works
Every date is a plain calendar day, so time zones and clock changes never move the answer.
- Days between two dates: the days from the start date up to the end date. Monday to Tuesday is 1 day. With “Count the end date too”, both dates count, so it is one more day.
- Working days: the same days, without Saturdays, Sundays and the public holidays of the country you choose. A holiday on a weekend takes no working day off, and the list under the result says so.
- Years, months and days: whole months first, then the days left over.
- Adding or subtracting: the start date itself is not counted, so Monday + 1 day is Tuesday and Friday + 1 working day is Monday. Months and years land on the same day number; when the month is too short, on its last day.
Working days = days − weekend days − public holidays on weekdays
Worked example: working days in the first quarter
From Monday, January 5, 2026 to Friday, March 20, 2026, with US federal holidays:
- Days: 27 in January (5 to 31) + 28 in February + 19 in March (1 to 19) = 74 days, which is 10 weeks and 4 days.
- Weekends: 10 full weeks hold 20 Saturdays and Sundays; the last 4 days (Monday, March 16 to Thursday, March 19) are weekdays. So 20 weekend days and 54 weekdays.
- Public holidays on weekdays: Martin Luther King Jr.’s Birthday (Monday, January 19) and Washington’s Birthday (Monday, February 16): 2.
- Working days: 74 − 20 − 2 = 52 working days.
Counting the end date too gives 75 days and 53 working days. With Ontario’s holidays, Family Day (February 16) is the only one in those weeks: 53 working days.
Worked example: adding working days
A delivery takes 3 working days from Wednesday, December 23, 2026, in Canada (federal holidays). Thursday, December 24 is working day 1. Friday, December 25 is Christmas Day, and Saturday, December 26 (Boxing Day) and Sunday, December 27 are a weekend. Monday, December 28 is day 2 and Tuesday, December 29 is day 3: Tuesday, December 29, 2026. Counting weekends only, it would be Monday, December 28.
Public holidays by country
The calculator builds each year’s holidays from the rules in the law, for 2000 to 2100. Outside those years only weekends are left out, and the result says so.
- United States (federal): New Year’s Day, Martin Luther King Jr.’s Birthday (third Monday of January), Washington’s Birthday (third Monday of February), Memorial Day (last Monday of May), Juneteenth (June 19, since 2021), Independence Day, Labor Day (first Monday of September), Columbus Day (second Monday of October), Veterans Day (November 11), Thanksgiving Day (fourth Thursday of November) and Christmas Day. A holiday on a Saturday is observed on the Friday before, on a Sunday on the Monday after, so New Year’s Day 2022 (a Saturday) was observed on Friday, December 31, 2021. Inauguration Day, a holiday only around Washington, D.C. every four years, is not included.
- Canada (federal): the general holidays of the Canada Labour Code, for federally regulated workplaces such as banks, airlines and telecoms: New Year’s Day, Good Friday, Victoria Day (the Monday before May 25), Canada Day (July 2 when July 1 is a Sunday), Labour Day, the National Day for Truth and Reconciliation (September 30, since 2021), Thanksgiving (second Monday of October), Remembrance Day, Christmas Day and Boxing Day.
- Ontario: the nine public holidays of the Employment Standards Act: New Year’s Day, Family Day (third Monday of February), Good Friday, Victoria Day, Canada Day, Labour Day, Thanksgiving, Christmas Day and Boxing Day. The Civic Holiday in August, Easter Monday and Remembrance Day are not public holidays in Ontario, though many employers give them.
- France: the 11 public holidays of the Code du travail: January 1, Easter Monday, May 1, May 8, Ascension Day, Whit Monday, July 14, August 15, November 1, November 11 and December 25. Alsace-Moselle adds Good Friday and December 26. Holidays never move in France, and Whit Monday is often worked as the “solidarity day”.
Each holiday the result leaves out is listed with its date, so you can check it against your own calendar. Your employer, your state or province, your bank or your school can give other days off.
Month ends and leap years
Adding months keeps the same day number: March 15 + 1 month is April 15. When that day doesn’t exist, the answer is the last day of the month: January 31 + 1 month is February 28 (February 29 in a leap year), and March 31 − 1 month is also February 28. This is the rule French law uses for deadlines in months and the one spreadsheets use. Leap years follow the Gregorian calendar: every year divisible by 4, except century years not divisible by 400, so 2000 was a leap year and 2100 will not be.
Counting a birthday is different: the age calculator gives an exact age in years, months and days, and counts a February 29 birthday on March 1 in other years. For a pregnancy due date, use the due date calculator.
Frequently asked questions
How many days are there between two dates?
Count the days from the start date up to the end date. From Monday, January 5, 2026 to Friday, March 20, 2026: 27 days left in January (5 to 31), 28 in February and 19 in March before the 20th make 74 days, which is 10 weeks and 4 days, or 2 months and 15 days.
How do I count working days between two dates?
Take the days, remove the Saturdays and Sundays, then remove the public holidays that fall on a weekday. In the 74 days above there are 20 weekend days and two US federal holidays (Martin Luther King Jr.’s Birthday on January 19 and Washington’s Birthday on February 16): 74 − 20 − 2 = 52 working days. In France there is no public holiday in those weeks, so it is 54.
Does the count include the start date and the end date?
By default the calculator counts from the start date up to the end date, so Monday to Tuesday is 1 day. Tick “Count the end date too” to count both dates (one more day): that is how a spreadsheet’s NETWORKDAYS counts working days. Both ways are used; contracts and notices usually say which one they mean.
What date is one month after January 31?
February 28, or February 29 in a leap year. When the later month is too short, the answer is its last day. This is the rule French law uses for deadlines in months (Code de procédure civile, article 641) and the one spreadsheets use (EDATE). So February 29, 2024 + 1 year is February 28, 2025. The age calculator counts a birthday that doesn’t exist on the next day (March 1) instead, the usual way to count age.
What happens when a public holiday falls on a weekend?
It depends on the country. US federal holidays on a Saturday are observed on the Friday before, and on a Sunday on the Monday after: July 4, 2026 is a Saturday, so Friday, July 3 is the day off. In Canada, Canada Day on a Sunday moves to July 2; for other holidays on a weekend, the law gives the working day just before or after (federal) or a substitute day (Ontario), chosen with the employer, so the calculator leaves them on their date. In France holidays never move.
Which public holidays does the calculator know?
The 11 US federal holidays, the 10 general holidays of the Canada Labour Code, Ontario’s 9 public holidays, and France’s 11 public holidays (13 in Alsace-Moselle), for every year from 2000 to 2100, built from the rules in the law. State, provincial, bank and school holidays can differ; check with your employer for your own days off.
Sources
- US Code, 5 U.S.C. 6103: the 11 legal public holidays, and a Saturday holiday observed on the Friday before (in force through Public Law 119-120, October 7, 2026)
- US Office of Personnel Management: federal holidays established by 5 U.S.C. 6103
- US Office of Personnel Management: federal holidays 2011 to 2020, with the days observed when a holiday fell on a weekend
- US Office of Personnel Management: Juneteenth National Independence Day, first observed on June 18, 2021
- Government of Canada: general holidays for employees of federally regulated employers (Canada Labour Code)
- Holidays Act (Canada): Canada Day, July 2 when July 1 is a Sunday; Victoria Day, the Monday before May 25
- Canadian Heritage: National Day for Truth and Reconciliation, a federal statutory holiday (Royal Assent June 3, 2021)
- Government of Ontario: Your guide to the Employment Standards Act, public holidays
- Government of Ontario: Family Day, the third Monday in February
- Service-Public.fr (France): public holidays and bridges in the private sector, Code du travail L3133-1
- Légifrance: Code de procédure civile, article 641 (deadlines in days, months and years)
Dates are exact for the dates entered, counted in whole calendar days in the Gregorian calendar. Public holidays follow the laws in the sources, for 2000 to 2100; states, provinces, banks, schools and employers can have other days off. Read the full disclaimer and how we check our formulas.