How to use it
- Pick the start and end dates (any year from 1583 to 9999). The count updates as you type.
- Decide whether the end date itself should count: leave it off for “days until”, turn it on for “how many days does the event last”.
- Read the headline day count, then the weeks, the years-months-days breakdown and the weekday / weekend split.
- Need hours? Tick “Add a start and end time” and enter both times to get days, hours, minutes and seconds between the two moments.
- Copy the summary or the link to this result.
Example
From Thursday, 1 January 2026 to Friday, 25 December 2026 there are 358 days (359 with the end date included): 51 weeks and 1 day, or 11 months and 24 days. Of those 358 days, 256 are weekdays and 102 fall on a weekend. With a start time of 09:00 and an end time of 17:00 the exact elapsed time is 358 days 8 hours, or 8,600 hours.
How the days are counted
days = dayNumber(end) − dayNumber(start) [+ 1 if the end date is included]
weeks = days ÷ 7 (whole), remainder shown as days
weekdays = 5 × whole weeks + Mon–Fri days in the remainderEach date is turned into a day number (days since a fixed epoch, computed from year, month and day only), so the difference is a whole number of calendar days whatever the local clock does. The years-months-days line adds the largest number of whole months to the start date – clamping 31 January + 1 month to the last day of February – and counts the days that remain, so the day part is always between 0 and 30.
Weekdays are counted without any holiday table: five per whole week plus the Monday-to-Friday days left in the remainder. Use the Workday Calculator if you need public holidays or a different weekend.
With times, the two moments are combined with their dates in your local time zone and subtracted as instants. A day on which the clocks change is therefore 23 or 25 hours long in that line only; the calendar-day count above it is unaffected.
Sources: Gregorian calendar, Julian day – day-number arithmetic, ISO 8601 – date and time format.
Questions
- Should I include the end date?
- Count exclusively (off) when you want the distance between two dates – days until a deadline, nights in a hotel, days since an event. Count inclusively (on) when both ends belong to the thing being measured – a holiday that runs from Monday to Friday is 5 days of leave.
- How many days are there between two dates in different years?
- Just enter both dates; the counter handles leap years (29 February in 2024, 2028, …) and spans of hundreds of years. 1 January 2000 to 1 January 2026 is 9,497 days, because seven of those years were leap years.
- Why do the hours differ from days × 24 when I add times?
- The time line measures real elapsed time between two instants, and a day with a daylight-saving change has 23 or 25 hours. The plain “Hours” row above it is simply whole days × 24.
- Does the weekday count skip public holidays?
- No – it counts every Monday to Friday. For working days with holidays and custom weekends, use the Workday Calculator.