Time Calc
Three modes: the difference between two instants (inclusive and exclusive day counts), offset arithmetic, and weekday counting based on Monday to Friday only (public holidays are not modelled). Everything is read as UTC and the clock is never consulted.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
Shows the difference, the breakdown and the weekday count.
Enter instants to start calculating
Days: 0 · Hours: 0 · Minutes: 0 · Weekdays: 0
What this tool does
- Count how many weekdays (Monday to Friday) fall between two dates.
- Measure how many days and hours two instants are apart.
- Add or subtract a duration from an instant.
Example
Input
2024-03-01 10:00:00 2024-03-10 18:30:00
Output
起点 / Start: 2024-03-01 10:00:00 终点 / End: 2024-03-10 18:30:00 相差 / Difference: 9 天 8 小时 30 分(808200 秒) 折算 / Breakdown: 9 天 · 8 小时 · 30 分钟 含首含尾 / Inclusive days: 10 天 不含首尾 / Exclusive days: 8 天 方向 / Direction: 终点晚于起点 / End after start
Frequently asked questions
Do the weekdays account for public holidays?
No. Only Monday to Friday is counted; public holidays and make-up workdays are out of scope, which the tool states explicitly.
Why UTC?
So the result never depends on the machine time zone; the same input always gives the same output.
How do I write an add-offset input?
`instant offset`, for example `2024-03-01 10:00:00 2h30m`; when only the offset is given, the base-instant control is used.
Keywords:workdaytime calcUTC