Example input/output
Input: 2024-01-01T00:00:00Z
Output: about 4 months ago (depends on current date)
How it works
This tool subtracts the input date from Date.now() to get the difference in milliseconds, then converts to the most appropriate unit (seconds, minutes, hours, days, weeks, months, years). Processing runs in your browser.
Common use cases
- Convert an absolute timestamp to a human-readable relative time (e.g. "2 hours ago")
- Determine how far in the future or past a specific date is
- Format timestamps for user-facing UI copy