Measure the absolute elapsed interval between two parsed instants in independent total units.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The absolute millisecond difference is floored into total seconds, minutes, hours, days, and weeks. Approximate months divide days by 30.44 and approximate years divide by 365.25 before rounding to two decimals.
Input1: 2025-01-15 Input2: 2025-06-30
From: 2025-01-15T00:00:00.000Z To: 2025-06-30T00:00:00.000Z Difference: 0.45 years 5.45 months 23 weeks 166 days 3984 hours 239040 minutes 14342400 seconds
Project reports count elapsed days, log investigations inspect total seconds, and rough plans express one duration in approximate months.