Lelifi·tools

Day Counter

October 17 to December 31, 2026 is 75 days between the dates, or 76 days if you count both ends. The 75 days hold 54 weekdays and 21 weekend days, and 75 divided by 7 is 10 weeks and 5 days. Pick the convention that matches your question.

Pick a start and end date to count calendar days both ways, plus weeks, weekdays and weekend days, with leap days handled correctly.

By the Lelifi editors ·

Key takeaways

October 17 to December 31, 2026Dec 31 - Oct 17 = 75 days both dates excluded+ 1 day = 76 days both ends counted75 / 7 = 10 weeks and 5 days= 54 weekdays and 21 weekend days
October 17 to December 31, 2026 is 75 days between the dates, or 76 if you count both ends.
The 75 days from October 18 to December 31, 202654 days21 daysWeekdays (54 days)Weekend days (21 days)
The 75 counted days split into 54 weekdays and 21 weekend days.
On this page
  1. Two ways to count, one day apart
  2. Worked example: October 17 to December 31, 2026
  3. Crossing a year boundary
  4. Leap days and why February moves
  5. Countdown and elapsed days are the same subtraction
  6. Weekdays, business days and holidays
  7. Why the math runs on UTC
  8. Check a count by hand in three steps

Two ways to count, one day apart

Every day count starts with the same subtraction: end date minus start date. The difference is whether you count the first day. Subtract the dates and you get the number of nights, or the number of full days that pass. Count both ends and you get one more day, because the start date is a day you are living through.

January 1 to January 31 is the clearest example. Subtracting gives 30 days, and counting both the first and the last gives 31. Both answers are correct, and they answer different questions. A hotel stay from January 1 to January 31 is 30 nights. A project that runs from January 1 through January 31 covers 31 working dates. Getting this wrong by one day is the most common mistake in date math, and it is why a rental agreement and a countdown timer can disagree about the same trip.

The rule of thumb: if you are counting a duration that starts on one date and ends on another, subtract. If you are counting the dates that are included in a period, add one. A countdown to a birthday, a deadline or a due date counts the days remaining, so it subtracts. A count of vacation days used counts every date you are off, so it includes both ends.

The calculator on this page does both at once. Pick a start date and an end date, choose whether to include the first day, and it returns the difference, the inclusive count, the weeks and days, and the split between weekdays and weekend days. Dates are handled in UTC, so a daylight saving change in the middle of a range cannot shift the total by an hour and turn 75 days into 74.96.

Worked example: October 17 to December 31, 2026

Start on Saturday, October 17, 2026 and end on Thursday, December 31, 2026. October has 31 days, so 14 days remain in October after the 17th. November adds 30, which is 44, and December adds 31, which is 75. The subtraction agrees: Dec 31 minus Oct 17 is 75 days.

What you are countingResultWhy
Days between the dates75Start date not counted, the usual duration
Days including both ends76Start date counted, the usual date count
Weeks and days10 weeks 5 days75 / 7 = 10.71, so 10 full weeks and 5 days
Weekdays in the 75 days54Monday to Friday only, holidays not excluded
Weekend days in the 75 days2175 - 54 = 21

Counting both ends gives 76, and the weekday split shifts with it: the inclusive 76 days hold 54 weekdays and 22 weekend days, because October 17 is a Saturday and adds a weekend day without adding a weekday. That single day is the whole difference between the two conventions.

This is also where a deadline calculator and a vacation calculator part ways. A 75 day project ending December 31 starts on October 17 if you count working days from the morning of the 17th. If the project starts the day after you sign, on October 18, the same December 31 deadline is 74 days away, and the person who signed on the 17th has one more day than the person who signed on the 18th.

Crossing a year boundary

Year boundaries break mental math, not arithmetic. December 20, 2026 to January 5, 2027 is 16 days: 11 days remain in December after the 20th, plus 5 days in January. The year changes in the middle, and the total does not care.

The trap is the December 31 to January 1 case. Subtracting gives 1 day, which is correct for a duration that starts on New Year's Eve and ends on New Year's Day. Counting both ends gives 2 days, which is correct if you are counting the dates in the period. Neither is a rounding error, and a system that mixes the two conventions will disagree with itself at every year boundary.

Year length matters only when the range contains a February 29. From December 20, 2026 to January 5, 2027 there is no February, so the count is 16 days in any year. A range that crosses February in a leap year picks up an extra day, which is why a 90 day countdown started in December can land a day earlier in a non-leap year than in a leap year.

Thirty, sixty and ninety day windows from October 17, 2026 land on these dates:

WindowEnds onDays counted
30 daysNovember 16, 202630
60 daysDecember 16, 202660
90 daysJanuary 15, 202790

The 90 day row crosses the year boundary and one month with 31 days, and the arithmetic holds because each step adds calendar days rather than months. Adding three months to October 17 gives January 17, which is 92 days, not 90. If a contract says 90 days, count days, not months.

Leap days and why February moves

February has 28 days in most years and 29 in a leap year. The U.S. Naval Observatory's rule is the Gregorian one: a year divisible by 4 is a leap year, except century years that are not divisible by 400. So 2024 and 2028 are leap years, 2100 is not, and 2000 was.

YearFebruary daysDays in the yearLeap year
202429366Yes
202628365No
202829366Yes
210028365No, century rule

February 1 to March 1 is 28 days in 2027 and 29 days in 2028. A one day difference sounds trivial until it lands on a payroll date, a visa window or a subscription renewal that was set up on a leap year.

Two practical consequences. A 365 day countdown started on March 1, 2027 lands on February 29, 2028, because the leap day sits inside the range, and a 364 day countdown from the same date lands on February 28. That one day is why a "one year" contract and a "365 day" contract can end on different dates. And a one year anniversary from February 29 lands on February 28 in the next three years, since February 29 does not exist, which is why most legal systems treat March 1 as the anniversary date instead.

Countdown and elapsed days are the same subtraction

A countdown and an elapsed count use identical arithmetic and opposite signs. Days until a date is end minus today. Days since a date is today minus start. The number is the same, and the meaning flips.

For a countdown, the question is "how many days are left", so you subtract and do not count today, because today is not over. If a deadline is Friday and today is Monday, the countdown is 4 days, and the four days are Tuesday through Friday. Some people prefer to say 4 days left, some say 5 days including today, and both are describing the same Friday.

For elapsed time, the question is "how long has it been", and the answer usually counts from the start date to today, which includes the start date in the sense that it was a day you lived. A 100 day streak that began on July 9, 2026 reaches day 100 on October 16, 2026, one day before the 17th, because day 1 is July 9 itself.

This is why streak apps and countdown apps can show numbers one apart for the same pair of dates. Neither is broken. One counts completed days, the other counts calendar dates in the range.

Pick a convention and write it down. If you are tracking a habit, count the start date as day 1, because you did the thing that day. If you are tracking a deadline, do not count today, because the work is not done yet.

Weekdays, business days and holidays

A weekday count is not the same as a business day count. Weekdays are Monday through Friday. Business days are weekdays minus holidays, and holidays depend on where you are and who is counting.

From October 17 to December 31, 2026, the 75 counted days hold 54 weekdays and 21 weekend days. Add the federal holidays in that window and the business day count drops. In 2026 the range contains Thanksgiving on November 26, Christmas on December 25, and Veterans Day on November 11, so a business day count for a U.S. office is 54 - 3 = 51, and a company that also closes on the day after Thanksgiving would count 50.

The federal holiday list is fixed by statute for most holidays and shifted to the nearest weekday for others, which is why a holiday that falls on a Saturday is often observed on the Friday before. If a deadline is stated in business days, ask which calendar applies before you count, because a bank, a court and a school district will give you three different answers for the same range.

The calculator on this page returns weekdays only, with no holiday calendar. That is the honest default: a weekday count is reproducible anywhere, and a holiday count is not. Subtract the holidays yourself once you know whose calendar applies.

Why the math runs on UTC

Date arithmetic looks trivial until daylight saving time gets involved. A day is not always 24 hours: on the spring forward date it is 23, and on the fall back date it is 25. If you subtract two local timestamps and divide by 24 hours, you can get 74.96 days instead of 75, and a rounding function turns that into 74.

The fix is to compare dates, not timestamps. Convert each date to midnight UTC, subtract, and divide by the number of milliseconds in a day. UTC has no daylight saving, so every day is exactly 86,400,000 milliseconds and the division always lands on a whole number. That is what this calculator does, and it is why the result does not change when the clocks move.

Time zones matter for a different reason: the date itself depends on where you are. A countdown to a midnight deadline in New York is one day different from the same deadline in Los Angeles for the last three hours of the day. If a date matters, write the time zone next to it, especially for anything with a legal or financial consequence.

The official time is published by NIST and the U.S. Naval Observatory, which is worth checking if you are counting down to a filing deadline rather than a birthday.

Check a count by hand in three steps

When a number matters, a quick hand check catches the off by one error before it costs you.

  1. Count the days left in the first month. Subtract the start day from the number of days in that month. From October 17, that is 31 - 17 = 14.
  2. Add whole months in between. October 17 to December 31 has one whole month in between, November, which adds 30, for 44.
  3. Add the days in the final month. December 31 adds 31, for 75. If the answer should include both ends, add 1 and stop at 76.

This method is slow and it is right. The alternative is to trust a subtraction and then argue with someone about whether the first day counts, which is a worse use of the same five minutes.

One more check for long ranges: divide by 365.25 to see roughly how many years you crossed. 75 days is about 0.2 years, which is the sanity check that tells you a result of 7,500 days came from a typo in the year field, not from a real range.

Sources for this page were checked on October 17, 2026: the leap year rule comes from the U.S. Naval Observatory, and the official time reference from NIST and USNO. Date conventions like inclusive counting are not governed by any authority, so the only reliable rule is the one written into the document you are counting against.

Frequently asked questions

How many days are there from October 17 to December 31, 2026?

75 days between the two dates, or 76 days if you count both the start and the end date. October contributes 14, November 30 and December 31.

Do you count the first day in a day count?

It depends on the question. For a duration such as nights in a hotel, do not count the start. For the number of dates included in a period, count both ends and add one day.

How many days is January 1 to January 31?

30 days between the dates and 31 days if you count both ends. The month has 31 dates, and the difference between the first and last is 30.

How do you count days across a year boundary?

Add the days left in the old year to the days used in the new one. December 20, 2026 to January 5, 2027 is 11 plus 5, or 16 days.

How many days is February in a leap year?

29. February 1 to March 1 is 28 days in 2027 and 29 days in 2028, because 2028 is divisible by 4 and 2027 is not.

Which years are leap years?

Years divisible by 4, except century years not divisible by 400. So 2024 and 2028 are leap years, 2100 is not, and 2000 was.

How many weekdays are in 75 days?

54, with 21 weekend days. For the inclusive 76 day span the weekdays stay at 54 and the weekend days rise to 22, since October 17, 2026 is a Saturday.

How many business days from October 17 to December 31, 2026?

About 51. The 54 weekdays drop by three federal holidays in the window: Veterans Day on November 11, Thanksgiving on November 26 and Christmas on December 25.

What date is 90 days from October 17, 2026?

January 15, 2027. Thirty days lands on November 16, 2026 and sixty days on December 16, 2026, so ninety crosses into the new year.

Why does 90 days not equal three months?

Because months have different lengths. Three months from October 17 is January 17, which is 92 days, since November has 30 days and December has 31.

Does daylight saving time change a day count?

No, if the dates are compared in UTC. A local day can be 23 or 25 hours, which is why subtracting timestamps can give 74.96 days instead of 75.

How do I count down to a deadline?

Subtract today from the deadline and do not count today, because it is not finished. A Friday deadline seen on Monday is 4 days away, covering Tuesday through Friday.

How do I count days already elapsed?

Subtract the start date from today and count the start date as day 1. A 100 day streak that began on July 9, 2026 reaches day 100 on October 16, 2026.

Does the calculator exclude holidays?

No. It returns calendar days and weekdays only, because holiday calendars differ by employer and country. Subtract the holidays that apply to you from the weekday figure.

Spotted a wrong number or a broken result?

More Date Time tools

See all Date Time tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.