Relative Time
Show how long ago or how far in the future a date is.
The Relative Time tool converts any date into a human-friendly relative description like "3 days ago", "in 2 months", or "just now". Uses the browser's Intl.RelativeTimeFormat API for natural language output. Automatically selects the most appropriate time unit (seconds, minutes, hours, days, weeks, months, years). Useful for displaying timestamps in UIs, blog posts, and notifications.
3 days ago
Relative3 days ago
Your input4/5/2026, 1:11:00 PM
Current time4/8/2026, 1:11:11 PM
Difference (ms)259211634
Related Tools
FAQ
- What time units does the tool use?
- The tool automatically picks the most readable unit: seconds (< 1 minute), minutes (< 1 hour), hours (< 1 day), days (< 1 week), weeks (< 1 month), months (< 1 year), and years otherwise. The output matches what you'd say naturally in conversation.
- Is the relative time calculated from now?
- Yes. The relative time is always relative to the current moment when you use the tool. The clock ticks in real time — the display updates every second.
- What language is the output in?
- The tool outputs in English using the Intl.RelativeTimeFormat API with the "en" locale. The phrasing follows natural English conventions like "yesterday", "last month", and "3 weeks ago".