Date Difference Calculator

Measure the elapsed days between two dates and split the result into whole weeks and remaining days.

01 / INPUTS

02 / RESULT

TOTAL DAYS

30 days

Total days
30
Whole weeks
4
Remaining days
2

Calculation trace

  1. 2026-01-31 − 2026-01-01 = 30 days
    30 days
    Elapsed days
  2. 30 days = 4 weeks + 2 days
    4 weeks
    Whole weeks and days
§

SOURCES

  • International Organization for Standardization (ISO)
    ISO 8601 — Date and time format

    Calendar date representation and civil day differences on the proleptic Gregorian calendar

    Accessed 2026-08-19