How long between two dates — in every unit you might need.
Time between
—
Total days
—
Total weeks
—
Total months
—
Total hours
—
Total minutes
—
What this calculates
The years-months-days breakdown respects calendar boundaries (variable month lengths, leap years). Total-units conversions are based on the absolute millisecond span between dates.