Guides

How to Count Specific Weekdays Between Two Dates?

Find out how to count specific weekdays between two dates using Include or Exclude, seven weekday selectors, and the 90 day calculator's Custom time result.

Miryori Editorial Team3 min read
Try the 90 Day Calculator

A 90-day window is not always 90 countable days. Sometimes you only care about the Tuesdays, or every day except the weekend. The 90 day calculator includes a set of custom-day controls for exactly that situation, and it reports the answer in a separate Custom time field.

To count specific weekdays between two dates, set the Include / exclude some week days control to Include or Exclude, then switch on the individual weekday selectors from Mondays through Sundays. The calculator returns a Custom time figure that counts only the chosen days between your From and To dates. Select Include end date to add the final day when it matches your selection.

What formula produces the Custom time result?

Once the day selection is set, the custom count walks the days between the two dates and adds the selected ones:

custom time=selected weekdays between date1 and date2+include end date\text{custom time} = \text{selected weekdays between date}_1 \text{ and date}_2 + \text{include end date}

The end-date term is 1 only when the Include end date option is on and the To date is one of your selected weekdays; otherwise it is 0. Which days count as "selected" is decided by the two controls described next.

What does Include or Exclude mean?

The Include / exclude some week days control takes two values. With Include (value 1), the calculator counts the days you have switched on. With Exclude (value 0), it inverts your selection: every day you left off becomes countable, and the days you selected are skipped. Each weekday selector follows the same pattern, with value 1 meaning the day name is chosen and value 0 meaning it is not.

Control Option Value
Include / exclude some week days Include 1
Include / exclude some week days Exclude 0
Include end date Include end date 1
Include end date Not selected 0
Weekday selector (e.g. Mondays) Day selected 1
Weekday selector (e.g. Mondays) Day not selected 0

All control values come directly from the calculator's option lists.

Worked example: counting one chosen weekday over 90 days

Take the 90-day span from 1 March to 30 May given by the calculator's own examples. Set Include / exclude some week days to Include, switch on Mondays only (Mondays = 1, every other weekday = 0) and leave Include end date off. The Custom time result then counts how many Mondays fall between 1 March and 30 May. Switching the control to Exclude flips the selection, so the same span is counted on every day of the week except Mondays.

Frequently Asked Questions

Can I select more than one weekday?

Yes. Mondays, Tuesdays, Wednesdays, Thursdays, Fridays, Saturdays and Sundays each have their own selector, so you can switch on any combination of the seven.

What happens if I choose Exclude?

The calculator inverts your weekday selection: the days you switched off are counted and the ones you switched on are left out. It is a quick way to count every day except a specific set.

Where does the Custom time value appear?

Custom time is an output-only field that becomes available once the Include / exclude some week days control has a value. You read the count there; you cannot enter it by hand.

Does the custom count use different dates from the other results?

No. It uses the same From and To date pair as the calendar-day and working-day results, so all three figures always describe the same span.

References

  • Omni 90 day calculator: the Custom time equation includeCountCustom(date1, date2, include/exclude, include end date, weekday selectors).
  • Omni 90 day calculator option lists: Include/Exclude and the Include end date flag, each valued 1 or 0.
  • Omni 90 day calculator weekday selectors: Mondays through Sundays, each selectable as 1 or 0.
Calculator

90 Day Calculator

Calculate 90 Day with practical everyday formulas, interactive references and step-by-step results. Free, fast and private.

Try the 90 Day Calculator