Time Ago Calculator
Turn any date and time into a human relative phrase like "3 hours ago" or "in 2 days" — runs 100% in your browser with no upload.
3 hours ago
🔒 Calculated live in your browser — nothing is uploaded.
What this tool does
Pick a date and time and this tool instantly describes it relative to right now in plain language — for example "45 seconds ago", "3 hours ago", "2 days ago", or, for a future moment, "in 2 days". The phrase is chosen from natural buckets of seconds, minutes, hours, days, months, and years, and it ticks live once per second so it always reflects the current moment without you touching anything. Use the "Set to now" button to snap the input to the present, then nudge it earlier or later to see how the wording changes. Everything is worded the same way you would say it out loud, so you can drop the result straight into a comment, changelog, or message.
How the wording is chosen
The calculator measures the gap between your chosen instant and the current clock, then picks the largest unit that keeps the number small and readable, rounding to the nearest whole value. Anything under a minute reads in seconds, up to an hour in minutes, up to a day in hours, and so on up to years, where a month is treated as roughly 30 days and a year as 365 days. Past dates end in "ago" and future dates start with "in", while the exact reference instant simply reads "just now". Because the phrasing is deterministic, the same input and clock always produce the same words.
Frequently asked questions
Does it show both past and future times?
Yes. A date earlier than the current clock reads as "… ago" (for example "3 hours ago"), while a date later than now reads as "in …" (for example "in 2 days"). The moment that matches the clock exactly reads "just now".
How are months and years counted?
The relative phrase rounds to the nearest whole unit and treats a month as about 30 days and a year as 365 days. It is meant as a friendly, human-readable label rather than an exact calendar difference, so "2 months ago" is an approximation, not a precise day count.
Is my date sent to a server?
No. The date and time you enter never leave your device. The relative phrase is generated entirely in your browser with JavaScript — nothing is uploaded, logged, or stored.