INTRODUCTION
"Updated 3 hours ago" is one of the friendliest things an interface can say. It is short, it needs no time zone, and it answers the question people usually have when they scan a list: is this fresh? It is also one of the easiest ways to make a product quietly wrong, because the sentence is only true at the moment it was written.
Our view: relative time is a good answer to one question and the wrong answer to several others. Use it where freshness is the point, use dates where a commitment is, and never make the exact date hard to reach.
Relative and absolute answer different questions
"3 hours ago" tells you how recent something is. "Tuesday 2 December, 14:05" tells you when it happened. The first is better for judging activity: a comment thread, a list of builds, the last sync of a file. The second is better for anything you compare with another time: a deadline, a delivery slot, the moment a payment cleared, the order of events in a log.
GitHub's design system, Primer, encodes this split. Its relative time guidelines use phrases like "5 minutes ago" or "yesterday" within a month, a short date beyond that, and a precise format with weekday and time for dates the user needs to be aware of. The open source relative-time element behind it switches to the actual date after 30 days by default.
Relative text goes stale
A relative timestamp is calculated when the page is rendered. Everything that copies the page afterwards freezes it: a cached HTML fragment, a notification email, an exported PDF, a screenshot pasted into a support ticket. "2 hours ago" in an email opened the next morning is simply false.
The relative-time element shows a sound way around this. The server writes an absolute date as the element's text, which is safe to cache and share, together with a machine-readable ISO timestamp in the datetime attribute. In the browser, a script replaces the text with a localized relative phrase and keeps it current. If the script never runs, the reader still sees a correct date. The same idea works with the plain HTML time element and with the browser's relative time formatter, Intl.RelativeTimeFormat, which with numeric: "auto" produces natural phrases such as "yesterday" in the reader's language.
"Yesterday" depends on where you are
Short durations are the same everywhere: ten minutes ago is ten minutes ago in Asunción and in Paris. Calendar words are not. A message sent at 22:30 on Monday in Asunción was sent at 02:30 on Tuesday in Paris. Read on Tuesday afternoon, the same message is "yesterday" for a colleague in Asunción and "today" for one in Paris. That rarely matters in a chat. It matters a lot when the question is whether something arrived before a deadline.
The exact date has to be reachable by everyone
The usual compromise is to show "3 hours ago" and put the full date in a title attribute. Primer's own accessibility notes explain why that is not enough: a title appears on mouse hover, there is no native way to show it from the keyboard, and screen readers ignore the title on this kind of element. Touch screens have no hover at all. A date that only exists on hover is the same problem as essential information hidden in a tooltip.
Primer points to better routes: show the full date in the detail view, offer a setting that switches every timestamp to absolute dates, or use a tooltip that works with the keyboard. Its guidelines add a small rule worth adopting: avoid micro formats like "2mo" or "1m". Browser translation cannot handle them, and VoiceOver on the Mac can read "1m" as one meter.
The counterargument: dates make people do arithmetic
The case for relative time is strong. An absolute date asks the reader to know today's date, convert time zones and subtract. In a feed of fifty items, "2 hours ago" scans faster than fifty timestamps, and for short intervals it avoids time zone confusion entirely, because a duration does not depend on a zone. We agree, which is why we keep relative time in streams. The argument stops working when the reader has to compare the time with something else, such as a deadline, an opening hour or another record, or when the text leaves the live screen.
A hypothetical support inbox
Picture a hypothetical support tool with a 48-hour response target. The ticket list says "2 days ago". Is that 47 hours or 71? The agent cannot tell, and the one decision that matters, which tickets will breach the target first, needs exact time. A better list keeps "2 days ago" for scanning, shows the due time as an absolute date beside it and sorts by it. The ticket page shows the full received date with its time zone. Nothing here describes a real client; it is the test worth running on your own screens. When a deadline is shown as a running clock, the same honesty applies as with countdowns that count down to something real.
A rule you can apply this week
Use relative time for recency in live lists, up to a threshold such as a month. Use absolute dates for deadlines, appointments, payments, logs, records and anything sent by email or exported. Render the absolute date on the server and enhance it in the browser, never the other way round. Make the exact date available to keyboard, touch and screen reader users. Then take three screens of your product that say "ago" and ask, for each one, what decision the reader makes from it.
Sources checked on 2 December 2026: Primer's RelativeTime guidelines and accessibility notes, the README of GitHub's open source relative-time element, and MDN's references for the HTML time element and Intl.RelativeTimeFormat. The support inbox is hypothetical; the time zone example uses Asunción (UTC−3) and Paris (UTC+1) in December.