Free tool

Unix Timestamp Converter

Convert a Unix timestamp to a human date and back — in seconds (on-chain block.timestamp) or milliseconds.

A Unix timestamp counts the seconds since January 1, 1970 UTC. On-chain values like block.timestamp and vesting cliffs are in seconds, while JavaScript dates are in milliseconds. This tool converts a timestamp to a readable UTC and local date (and back), making the seconds-vs-milliseconds distinction explicit so you avoid the classic 1000× error.

Unit
How it works

Unix time (or epoch time) is a single integer: the number of seconds elapsed since the Unix epoch, 00:00:00 UTC on 1 January 1970. It is timezone-independent, which makes it the standard for storing instants in databases and on blockchains.

The most common bug when working with timestamps is mixing units. Solidity's block.timestamp is in seconds, but JavaScript's Date works in milliseconds — off by a factor of 1000. This converter asks you which unit you mean, so a vesting cliff or unlock time is never misread by three orders of magnitude.

For token launches, timestamps drive cliff dates, vesting unlocks, and sale windows. Converting them to a readable date up front catches mistakes before they are written into a contract.

Monmint is a no-code ERC-20 creator on Monad — launch a verified token in one transaction.

Create a token on Monad
FAQ

Common questions

Is block.timestamp in seconds or milliseconds?
Seconds. Ethereum and Monad's block.timestamp is the Unix time in seconds. Multiply by 1000 only when converting to a JavaScript Date.
What is the Unix epoch?
It is the reference point for Unix time: midnight UTC on 1 January 1970. A timestamp is the count of seconds since that moment.
Why does my timestamp show the wrong year?
Usually a unit mismatch. A seconds value read as milliseconds lands near 1970; a milliseconds value read as seconds lands far in the future. Set the correct unit.
Does it handle timezones?
Yes. The tool shows the UTC date (canonical) and your local date, so you can see both without converting by hand.
Keep reading