Calendar-free duration
The difference between two instants is computed as pure millisecond arithmetic — no calendar months or DST transitions are involved, so the breakdown is always exact.
Calculate the exact calendar-free duration between two dates or timestamps directly in your browser.
The difference between two instants is computed as pure millisecond arithmetic — no calendar months or DST transitions are involved, so the breakdown is always exact.
Days, hours, minutes, seconds, and milliseconds are the remainder breakdown of the total duration, plus the total in milliseconds for programmatic use.
If Date A is after Date B, the result is negative — the sign reflects B minus A.