mytoolstash / date & time tools / date-difference

$ dateutils.ddiff

Date Difference Calculator

Pick two dates to get the exact gap in days, weeks, months, and years.

Pick both dates

How months and years are counted

Days and weeks are exact. The years-months-days breakdown counts full calendar units the way people naturally do: from 15 January to 20 March is 2 months and 5 days, respecting different month lengths and leap years.

Typical uses

Project timelines and deadlines, age calculations, notice periods, subscription and warranty windows, and interest day-counts.