Back to all tools

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates. Supports seconds and milliseconds, multiple timezones, and relative time display.

What is a Unix Timestamp?

A Unix timestamp (also called Epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC. It is a universal way to represent a specific point in time as a single integer, independent of time zones. Unix timestamps are widely used in databases, APIs, log files, and programming languages to store and compare dates and times.

This tool converts between Unix timestamps and human-readable dates, supports multiple timezones, and shows relative time (e.g., "2 hours ago").

How to Use This Timestamp Converter

  1. Enter a Unix timestamp — Paste a timestamp (seconds or milliseconds) to see the human-readable date and time.
  2. Or pick a date — Select a date and time using the date picker to get the corresponding Unix timestamp.
  3. Choose a timezone — Select your desired timezone to see the correct local time representation.
  4. View relative time — See how long ago or in the future the timestamp is relative to the current time.
  5. Copy the result — Copy the timestamp or formatted date string to your clipboard.

Common Use Cases

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC. It is widely used in programming and databases as a simple, timezone-independent way to represent a point in time.

How do I convert a Unix timestamp to a date?

Enter your Unix timestamp in the input field and the tool will instantly display the corresponding date and time in your selected timezone. It automatically detects whether the timestamp is in seconds or milliseconds.

What is the difference between seconds and milliseconds timestamps?

Unix timestamps in seconds are 10 digits long (e.g., 1700000000), while millisecond timestamps are 13 digits (e.g., 1700000000000). JavaScript's Date.now() returns milliseconds, while most Unix systems use seconds. This tool supports both formats.