My Tools Garage

Time Ago Formatter

Turn any date into "3 hours ago" or "in 2 days".

in-browser

How to use

  1. 1 Enter a date, time or Unix timestamp.
  2. 2 Pick a style: long, short or narrow.
  3. 3 Read the live relative phrase, which updates each second.
  4. 4 Copy the phrase to use wherever you need it.

About Time Ago Formatter

The Time Ago Formatter converts a date, time or Unix timestamp into the friendly relative phrasing you see across apps and feeds — "just now", "5 minutes ago", "yesterday" or "in 2 days".

Paste an ISO 8601 date, a local date-time, or an epoch value in seconds or milliseconds, and the tool works out the gap from the current moment and picks the most readable unit, from seconds up to years.

It is built on the browser's own Intl.RelativeTimeFormat engine, so the output respects natural language rules: it knows when to say "yesterday" instead of "1 day ago", and it can render long, short or narrow styles to match a compact UI or a roomy one.

Because the reference clock ticks live, the phrase stays accurate while the page is open — handy for sanity-checking how a "posted 2 minutes ago" label will read a moment later.

Smart input parsing means you do not have to reformat your data: ten-digit numbers are treated as epoch seconds, longer ones as milliseconds, and any string the platform can parse just works.

Everything is computed locally — no date you enter is ever uploaded or stored — and you can copy the resulting phrase with one click to drop into copy, tests or documentation.

FAQ

What formats can I paste in?

ISO 8601 dates, local date-times, and Unix timestamps in seconds or milliseconds. Ten-digit numbers are read as seconds and longer ones as milliseconds.

Why does it say "yesterday" instead of "1 day ago"?

It uses the browser's Intl relative-time formatting with automatic wording, which prefers natural terms like "yesterday" and "tomorrow" where they apply.

Does the result keep updating?

Yes. A live clock ticks every second while the page is open, so the relative phrase stays current without a manual refresh.