Epoch Converter
Runs offlineConvert Unix timestamps to dates, in UTC, local and relative time.
seconds or milliseconds — detected automatically
ISO 8601 — editable
Local time
11/14/2023, 10:13:20 PM
Full ISO
2023-11-14T22:13:20.000Z
Relative
in 0 seconds
Read as seconds. Solidity's block.timestamp is always seconds; JavaScript's Date.now() is milliseconds. Mixing them up is a factor of a thousand.
About epoch converter
Solidity's block.timestamp is in seconds. JavaScript's Date.now() is in milliseconds. Almost every off-by-a-thousand bug in a vesting schedule or a deadline traces back to that mismatch. Paste either and this works out which you meant from the number of digits, then shows the result in UTC, local time and relative terms.