Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates. Supports multiple timezones.

Current time:

ℹ️ About Unix Timestamps

Definition: Number of seconds since January 1, 1970 (UTC).

Range: Typically 10 digits (seconds) or 13 digits (milliseconds).

Usage: Used in blockchain, databases, APIs, and programming.

Example: 1704067200 = January 1, 2024 00:00:00 UTC

About this tool

The Timestamp Converter translates between Unix epoch time and human-readable dates and back again, in your browser. With on-chain data stamped in seconds, this tool turns block timestamps and contract events into dates you can actually read.

Why Unix time matters on-chain

Smart contracts store time as the number of seconds since the Unix epoch (1970-01-01 UTC). Every block's timestamp and most time-based events are raw integers, so converting them to a readable date is a daily task for developers and analysts exploring chain data.

Time zones and formats

The tool renders the local date and can also show UTC, and it converts human dates back to epoch seconds — the reverse path you need when building time-based contract parameters.

Conversions

  • Epoch to date: Turn seconds/milliseconds into a human-readable timestamp.
  • Date to epoch: Turn a date and time back into Unix seconds.

Frequently asked questions

Is the block timestamp accurate?

Block timestamps are set by miners and can drift slightly, but they are usually within a few seconds of real time.

What time zone is used?

It shows your local time by default and also offers UTC, which is the convention used on-chain.