Skip to content
ConvertPass home

Time & money

Date difference

Count days and weekdays between two dates without a spreadsheet.

This tool processes files and text locally in your browser. Your content is not uploaded or stored by this site.

What this tool does

Both instants are parsed with the JavaScript Date parser. The output includes signed milliseconds, whole days/hours/minutes, and a weekday count. Public holidays are not subtracted — ConvertPass will not pretend to know every calendar.

How to use it

  1. Enter the start date or datetime.
  2. Enter the end date or datetime.
  3. Read the signed duration and weekday count.

Supported input

  • Two ISO-8601 or local date-time values

Output

  • JSON with totals, a split duration, and a weekday count

Privacy

This tool processes files and text locally in your browser. Your content is not uploaded or stored by this site.

ConvertPass does not include your input in analytics, URLs, or error reports. Encoding: ISO-8601. Limit: Two instants (4.0 KB).

Limitations

  • Weekdays skip Saturday and Sunday only. Bank holidays, Ramadan, and company shutdowns are not in the calendar.
  • Date-only values are treated as local midnight on that calendar day.
  • Very large ranges still use JavaScript Date, which is not a historical astronomy library.

Example

Input
2026-08-17 to 2026-08-21
Output
{
  "totalDays": 4,
  "weekdaysExclusiveOfHolidays": 5
}

Monday 17 August 2026 through Friday 21 August 2026 is five weekdays inclusive.

Troubleshooting

The weekday count looks one off
The count is inclusive of both calendar days. A Friday-to-Monday span includes Friday and Monday.

FAQ

Does this use my timezone?

Date-times without a Z are parsed as local time in this browser. Add Z if you mean UTC.

Can I count only working hours?

No. This tool counts calendar duration and weekdays, not 9–5 shifts.

Why can the weekday count be negative?

If the end is before the start, totals are signed so you can see the direction.

Is this an age calculator?

You can use it as a rough age in days. It does not print years and months because those are calendar units, not fixed lengths.

Related tools

Related formats

Last reviewed 16 August 2026. Report a problem. Reports do not include your input.