Date difference calculator

Uses calendar dates at UTC midnight and excludes the starting day.

Your inputs

Input format

Use this format with your own values:

2026-01-01
Input format

Use this format with your own values:

2026-01-11

Use the units shown.

Elapsed calendar days
10

Your calculation
How is this calculated?

Uses calendar dates at UTC midnight and excludes the starting day. Earlier end dates return negative elapsed days.

Try an example

Worked example

Elapsed calendar days: 10

Inputs
  • Start date (YYYY-MM-DD): 2026-01-01
  • End date (YYYY-MM-DD): 2026-01-11

Compare inputs

Elapsed calendar days: 2

Inputs
  • Start date (YYYY-MM-DD): 2026-02-28
  • End date (YYYY-MM-DD): 2026-03-02
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.