Skip to content

How to count days: the rules we use

These are the rules the calculators follow, in the words their result lines use. The answers of the 40 cases below were fixed on November 23, 2026 from an independent calculation, not from the calculator itself, and the tests of the site run every case against the calculator.

Who writes and checks the site is on the about page.

Three choices the calendar leaves open

The start day. Some sites count the start day as day 1. Here it is day 0 and the next day is day 1, so 90 days from October 11, 2026 is January 9, 2027 (case 18). The start day is day 0: day 1 is the next day.

One month from the end of January. A month added to January 30 or 31 has no matching day in February, so the result is the last day of February: February 28, 2026 and February 29, 2028 (cases 1, 2 and 6). Jan 31 + 1 month: there is no Feb 31, so the result is the last day of February.

Before 1582. Dates before October 15, 1582 use the Gregorian calendar extended backwards, not the Julian dates of the time. From October 4 to October 15, 1582 the answer is 11 days (case 38).

The rules, one line each

Every rule the results can show and where it comes from
RuleSource
Start day not counted, end day countedFederal Rules of Civil Procedure, Rule 6(a)(1)
Start day and end day both countedConvention of this site
The start day is day 0: day 1 is the next dayFederal Rules of Civil Procedure, Rule 6(a)(1)
Calendar days, not hours: a clock change never adds or removes a dayTC39 Temporal: Temporal.PlainDate
Jan 31 + 1 month: there is no Feb 31, so the result is the last day of FebruaryTC39 Temporal: Temporal.PlainDate
Whole calendar months first, then the days left overTC39 Temporal: Temporal.PlainDate
A number of days is not a number of months: both dates are shownConvention of this site
Feb 29 plus whole years lands on Feb 28 in a common yearTC39 Temporal: Temporal.PlainDate
A century year is a leap year only when it divides by 400: 2000 was, 2100 is notUS Naval Observatory: Leap Years
Dates before October 15, 1582 use the Gregorian calendar extended backwards, not the Julian dates of the timeTC39 Temporal: Calendars
Start day counted, end day not; weekends and the days off of the list are skippedConvention of this site
The start day is never counted; weekends and the days off of the list are skippedConvention of this site
A holiday on a weekend moves to the weekday the publisher namesOPM: Federal holidays
A holiday on a weekend is not moved to a weekday (not yet in the calculator)Portaria MGI nº 11.460/2025 (Diário Oficial da União)
The law does not fix the substitute day: both counts are shown (not yet in the calculator)Canada Labour Code, Part III (s. 166 and s. 193)
An optional day off is not a holiday, so it is counted (not yet in the calculator)Portaria MGI nº 11.460/2025 (Diário Oficial da União)
Born on Feb 29: in a common year the birthday is taken as Feb 28Convention of this site
Born on Feb 29: in a common year the birthday is taken as Mar 1Convention of this site
ISO weeks start on Monday; week 1 holds the first Thursday of the yearTC39 Temporal: Temporal.PlainDate
January 1 is day 1 of the yearTC39 Temporal: Temporal.PlainDate
On the day itself the count is 0 daysConvention of this site
A two-digit year is read as 20YYConvention of this site
A date like 10/11/26 is read both ways, US reading firstConvention of this site

The end of the month when adding months

A month that is shorter than the day you start from ends on its last day.

The end of the month when adding months: 6 cases
CaseAnswerRule and source
1. Jan 31, 2026 + 1 monthSaturday, February 28, 2026Jan 31 + 1 month: there is no Feb 31, so the result is the last day of February
TC39 Temporal: Temporal.PlainDate
2. Jan 31, 2028 + 1 month, in a leap yearTuesday, February 29, 2028Jan 31 + 1 month: there is no Feb 31, so the result is the last day of February
TC39 Temporal: Temporal.PlainDate
3. Mar 31, 2026 + 1 monthThursday, April 30, 2026Jan 31 + 1 month: there is no Feb 31, so the result is the last day of February
TC39 Temporal: Temporal.PlainDate
4. Aug 31, 2026 + 6 monthsSunday, February 28, 2027Jan 31 + 1 month: there is no Feb 31, so the result is the last day of February
TC39 Temporal: Temporal.PlainDate
5. Mar 31, 2026 − 1 monthSaturday, February 28, 2026Jan 31 + 1 month: there is no Feb 31, so the result is the last day of February
TC39 Temporal: Temporal.PlainDate
6. Jan 30, 2026 + 1 monthSaturday, February 28, 2026Jan 31 + 1 month: there is no Feb 31, so the result is the last day of February
TC39 Temporal: Temporal.PlainDate

February 29 plus and minus years

A leap day moved by whole years lands on February 28 when the target year has no February 29.

February 29 plus and minus years: 4 cases
CaseAnswerRule and source
7. Feb 29, 2028 + 1 yearWednesday, February 28, 2029Feb 29 plus whole years lands on Feb 28 in a common year
TC39 Temporal: Temporal.PlainDate
8. Feb 29, 2028 + 4 yearsSunday, February 29, 2032Feb 29 plus whole years lands on Feb 28 in a common year
TC39 Temporal: Temporal.PlainDate
9. Feb 29, 2028 − 1 yearSunday, February 28, 2027Feb 29 plus whole years lands on Feb 28 in a common year
TC39 Temporal: Temporal.PlainDate
10. Feb 29, 2096 + 4 years, into 2100Sunday, February 28, 2100Feb 29 plus whole years lands on Feb 28 in a common year
TC39 Temporal: Temporal.PlainDate

Century leap years

The years 1900 and 2100 have no February 29, and 2000 had one.

Century leap years: 3 cases
CaseAnswerRule and source
11. Feb 28, 1900 + 1 dayThursday, March 1, 1900A century year is a leap year only when it divides by 400: 2000 was, 2100 is not
US Naval Observatory: Leap Years
12. Feb 28, 2000 + 1 dayTuesday, February 29, 2000A century year is a leap year only when it divides by 400: 2000 was, 2100 is not
US Naval Observatory: Leap Years
13. Days from Jan 1, 2100 to Jan 1, 2101365 daysA century year is a leap year only when it divides by 400: 2000 was, 2100 is not
US Naval Observatory: Leap Years

Counting the end day or not

The default leaves the start day out and counts the end day; the box "Count both the start and the end day" counts both.

Counting the end day or not: 4 cases
CaseAnswerRule and source
14. Jan 1 to Dec 31, 2026364 daysStart day not counted, end day counted
Federal Rules of Civil Procedure, Rule 6(a)(1)
15. Jan 1 to Dec 31, 2026, end day counted too365 daysStart day and end day both counted
Convention of this site
16. Nov 23 to Dec 25, 202632 daysStart day not counted, end day counted
Federal Rules of Civil Procedure, Rule 6(a)(1)
17. Feb 1 to Feb 29, 2028, end day counted too29 daysStart day and end day both counted
Convention of this site

The start day in "N days from"

The start day is day 0, so day 1 is the next day.

The start day in "N days from": 3 cases
CaseAnswerRule and source
18. 90 days from Oct 11, 2026Saturday, January 9, 2027The start day is day 0: day 1 is the next day
Federal Rules of Civil Procedure, Rule 6(a)(1)
19. 2 weeks from Nov 23, 2026Monday, December 7, 2026The start day is day 0: day 1 is the next day
Federal Rules of Civil Procedure, Rule 6(a)(1)
20. 30 days before Mar 1, 2026Friday, January 30, 2026The start day is day 0: day 1 is the next day
Federal Rules of Civil Procedure, Rule 6(a)(1)

Across a clock change

Days are calendar days: a clock that moves an hour never adds or removes one.

Across a clock change: 3 cases
CaseAnswerRule and source
21. Mar 7 to Mar 9, 2026, across the US clock change of Mar 82 daysCalendar days, not hours: a clock change never adds or removes a day
TC39 Temporal: Temporal.PlainDate
22. Mar 28 to Mar 30, 2026, across the UK clock change of Mar 292 daysCalendar days, not hours: a clock change never adds or removes a day
TC39 Temporal: Temporal.PlainDate
23. Nov 3 to Nov 5, 2018, across the São Paulo clock change of Nov 42 daysCalendar days, not hours: a clock change never adds or removes a day
TC39 Temporal: Temporal.PlainDate

Business days with a holiday on a weekend

One case for each holiday list that moves, or leaves in place, a holiday that falls on a weekend.

Business days with a holiday on a weekend: 6 cases
CaseAnswerRule and source
24. US federal, Jul 1 to Jul 9, 2026: Jul 4 is a Saturday, Jul 3 is off5 business daysA holiday on a weekend moves to the weekday the publisher names
OPM: Federal holidays
25. England and Wales, Dec 21, 2026 to Jan 5, 2027: Boxing Day is a Saturday, Dec 28 is the substitute8 business daysA holiday on a weekend moves to the weekday the publisher names
GOV.UK: UK bank holidays
26. Scotland, Dec 28, 2026 to Jan 8, 2027: Jan 2 is a Saturday, Jan 4 is the substitute (not yet in the calculator)6 business daysA holiday on a weekend moves to the weekday the publisher names
GOV.UK: UK bank holidays
27. Northern Ireland, Jul 10 to Jul 17, 2026: Jul 12 is a Sunday, Jul 13 is the substitute (not yet in the calculator)4 business daysA holiday on a weekend moves to the weekday the publisher names
GOV.UK: UK bank holidays
28. Canada federal, Dec 21 to Dec 31, 2026: Boxing Day is a Saturday, the substitute day is not fixed (not yet in the calculator)7 or 6 business days, by the employer’s choice of substitute dayThe law does not fix the substitute day: both counts are shown
Canada Labour Code, Part III (s. 166 and s. 193)
29. Brazil, Nov 1 to Nov 30, 2026: Nov 15 is a Sunday and is not moved (not yet in the calculator)18 business daysA holiday on a weekend is not moved to a weekday
Portaria MGI nº 11.460/2025 (Diário Oficial da União)

The age of someone born on February 29

In a common year the birthday is taken as February 28 or as March 1, and the page shows which one it used.

The age of someone born on February 29: 4 cases
CaseAnswerRule and source
30. Born Feb 29, 2000, on Feb 28, 2026, birthday taken as Feb 2826 years, 0 months, 0 daysBorn on Feb 29: in a common year the birthday is taken as Feb 28
Convention of this site
31. Born Feb 29, 2000, on Mar 1, 2026, birthday taken as Feb 2826 years, 0 months, 1 daysBorn on Feb 29: in a common year the birthday is taken as Feb 28
Convention of this site
32. Born Feb 29, 2000, on Feb 28, 2001, birthday taken as Mar 10 years, 11 months, 30 daysBorn on Feb 29: in a common year the birthday is taken as Mar 1
Convention of this site
33. Born Feb 29, 2000, on Mar 1, 2026, birthday taken as Mar 126 years, 0 months, 0 daysBorn on Feb 29: in a common year the birthday is taken as Mar 1
Convention of this site

ISO week number

Weeks start on Monday and week 1 holds the first Thursday of the year.

ISO week number: 2 cases
CaseAnswerRule and source
34. ISO week of Jan 1, 2027Week 53 of 2026ISO weeks start on Monday; week 1 holds the first Thursday of the year
TC39 Temporal: Temporal.PlainDate
35. ISO week of Dec 30, 2024Week 1 of 2025ISO weeks start on Monday; week 1 holds the first Thursday of the year
TC39 Temporal: Temporal.PlainDate

Day of the year

January 1 is day 1.

Day of the year: 2 cases
CaseAnswerRule and source
36. Day of the year of Dec 31, 2028Day 366January 1 is day 1 of the year
TC39 Temporal: Temporal.PlainDate
37. Day of the year of Mar 1, 2026Day 60January 1 is day 1 of the year
TC39 Temporal: Temporal.PlainDate

Dates before 1582

The Gregorian calendar is extended backwards, so no day is missing in October 1582.

Dates before 1582: 1 cases
CaseAnswerRule and source
38. Oct 4 to Oct 15, 1582, across the Gregorian reform11 daysDates before October 15, 1582 use the Gregorian calendar extended backwards, not the Julian dates of the time
TC39 Temporal: Calendars

A typed date that can be read two ways

A date like 10/11/26 is shown with both readings, the US one first.

A typed date that can be read two ways: 2 cases
CaseAnswerRule and source
39. "10/11/26": October 11 or 10 NovemberOctober 11, 2026 or November 10, 2026A date like 10/11/26 is read both ways, US reading first
Convention of this site
40. "15/10/2026": only one reading, 15 OctoberOctober 15, 2026A date like 10/11/26 is read both ways, US reading first
Convention of this site