ToolHuts

Practical tools for measured work

Date duration calculator

Count calendar days, weekdays and weekends, or add and subtract days.

Calculate the layout, check the diagram, then print the result for the shop or jobsite.

Calendar date calculation

Calendar days2
Start weekdayWednesday
End weekdayFriday
Whole weeks0
Remaining days2
Weekdays2
Weekend days0

How it works

Count dates from the start date up to, but not including, the end date. Include the end date to count both endpoints. From 28 February to 1 March 2024 there are two days, or three inclusive days. Adding days accepts signed whole numbers.

Current-input example

The result above uses these exact values. This snapshot is included when the page is printed so the output can be checked against the original measurements.

Calculation
Days between dates
Start date
2024-02-28
End date
2024-03-01
Include end date
No

Primary result: Calendar days: 2.

Before using the result

  • Check the selected mode, units and input values before using the result.
  • Read the assumptions and rounding rules; compare the worked example with your intended calculation.
  • A numerical result does not supply missing context or change the stated limitations.

Limitations

Gregorian calendar dates from year 0001 through 9999. Calendar days are not elapsed 24-hour periods across daylight-saving changes. Weekdays exclude Saturday and Sunday but include public holidays.

Frequently asked questions

Are public holidays excluded?

No. Weekday counts exclude only Saturday and Sunday. Apply the relevant holiday calendar separately.

Elapsed date and time

Elapsed hours1
Total seconds3600
Start UTC2024-03-10T06:30:00.000Z
End UTC2024-03-10T07:30:00.000Z

How it works

Dates and times are interpreted in the selected IANA zone before their UTC instants are subtracted. In New York on 10 March 2024, 01:30 to 03:30 is one elapsed hour because the clock skips forward.

Current-input example

The result above uses these exact values. This snapshot is included when the page is printed so the output can be checked against the original measurements.

Start date and time
2024-03-10T01:30
End date and time
2024-03-10T03:30
IANA time zone
America/New_York
Start repeated-time occurrence
Earlier occurrence
End repeated-time occurrence
Earlier occurrence

Primary result: Elapsed hours: 1.

Before using the result

  • Check the selected mode, units and input values before using the result.
  • Read the assumptions and rounding rules; compare the worked example with your intended calculation.
  • A numerical result does not supply missing context or change the stated limitations.

Limitations

Skipped local times are invalid. For repeated times choose the intended occurrence at each endpoint. The end instant must not precede the start. Browser time-zone rules apply; leap seconds are excluded.

Frequently asked questions

Why does elapsed time differ from calendar time?

A clock change alters the relationship between local time and UTC. Use calendar days for date counting and UTC elapsed hours for physical duration.