Relative Time Formatter
Format past and future timestamps as human-readable relative phrases such as in 3 days or 2 hours ago.
O
M
T
Human-readable relative time phrases
Show how far a timestamp is from a reference moment using Intl.RelativeTimeFormat—for example “in 3 days” or “2 hours ago”. Paste ISO-8601 strings or Unix seconds/milliseconds.
Convert epochs with the Epoch Precision Converter.
Frequently Asked Questions
What is the default reference time?
Your browser’s current clock when the reference field is empty.
Which locale is used?
English (en) for relative phrases in this tool.