Time Ago Calculator
Turn a date into a phrase like 3 hours ago, or a phrase or raw timestamp back into a date — with local time, UTC and Unix seconds.
Understands “3 hours ago”, “in 2 weeks”, “-90m”, epoch seconds or milliseconds, and ISO 8601. m is minutes; mo is months.
3 hours ago
03/11/2026, 04:13:57
2026-11-03T04:13:57Z
1793679237
Tuesday
3 hours ago
0
0
3
180
10,800
Both directions
Pick a date and time and the tool prints the relative phrase, ticking on its own as the clock moves. Or type the phrase instead — “3 hours ago”, “in 2 weeks”, “-90m”, “1 day 3 hours ago” — and it works out which moment that is. Paste an epoch timestamp or an ISO 8601 string into the same box and it reads that too, which is what you actually have when the question came from a log line. For a microsecond or nanosecond epoch, a Windows FILETIME, a Mongo ObjectID or an Excel serial, use the Unix Timestamp Converter.
Every form of the same moment
Whichever way you gave it, the answer appears as the phrase, the local time in your own zone, the UTC timestamp, and Unix seconds — each with its own copy button — followed by the day of the week it falls on in your own time. The local time is written the way your browser's English region writes it, so an en-US browser gets the 12-hour clock with AM and PM. A log line is in UTC or epoch, and the question is almost always how long ago that was in your own day. The picker takes seconds too, not just minutes.
How the phrase is read
Direction comes from the words: “ago” or “before” for the past, “in”, “from now”, “later” or “hence” for the future, and a leading minus or plus overrides either. A phrase with no direction at all is read as the past, which is what a bare “3 hours” next to a timestamp means everywhere it appears. Units can be written out or shortened; m is minutes and mo is months, the usual convention in log formats. Months and years move by the calendar rather than by an average length, so a month before 31 March is the end of February.
Frequently asked questions
Can I go the other way — a phrase into a timestamp?
Yes, that is the second box. Type “3 hours ago”, “in 2 weeks”, “-90m” or “1 day 3 hours ago” and you get the moment, in local time, UTC and Unix seconds. Clear the box and the date picker takes over again.
Does it accept a Unix timestamp?
Yes — ten digits are read as seconds and thirteen as milliseconds — along with ISO 8601 strings, with or without a zone. A bare date such as 2026-06-15 is read as midnight UTC, since a log line saying that means that day everywhere.
Is “m” minutes or months?
Minutes. “mo” is months. That is what log formats and duration strings usually mean by them, and the alternative reading would silently be about forty-three thousand times larger.
Which timezone does it use?
Your own, for the picker and the local-time row. The UTC and Unix rows are absolute, so they are the ones to copy when the answer is going somewhere else. Nothing is guessed about where you are beyond what your browser already reports.
Can I see the exact gap, not just “a month ago”?
Yes. “The whole gap” breaks the difference into years, months, days, hours, minutes and seconds, and the rows below give it as a total in weeks, days, hours, minutes and seconds.
Does it say which day of the week the moment falls on?
Yes. A "Day of the week (local time)" row follows the local, UTC and Unix rows. The local time itself is written the way your browser’s English region writes it, so an en-US browser gets the 12-hour clock with AM and PM.