ToolHub

Relative Time Calculator

Calculate human-readable relative time (e.g., '2 hours ago') from dates.

Relative Time Calculator

Resulting Time

About Relative Time Calculator

Convert a date and time into a human-readable relative phrase like '3 hours ago' or 'in 2 days', and vice versa. Useful for understanding timestamps at a glance.

How to Use

  1. Enter a date and time.
  2. See how long ago (or how far in the future) it is.
  3. Adjust the reference point if needed.
  4. Copy the phrase.

Why Use This Tool?

Frequently Asked Questions

How is relative time calculated?

It measures the difference between the given time and now, then expresses it in the largest sensible unit — seconds, minutes, hours, days, months, or years.

Where is relative time used?

It's the '5 minutes ago' style label you see on social media, comments, and notifications — friendlier than a full timestamp for recent events.

Does it update automatically?

The phrase reflects the moment you calculate it. Re-run it to refresh against the current time.

Related tools