Unix Timestamp Converter

Convert timestamps (s, ms, µs, ns) to dates and dates to timestamps, in local time and UTC.

The link keeps what is on screen.

Timestamp → date

Date → timestamp

How is it calculated?See the code ↗

Processed in your browser; nothing is sent.

Use from the terminal (JSON)

This tool also runs outside the site: the cli.js script uses the same logic as this page and returns the result as JSON. Parameters are the same as this page's URL — copy the command below with the values on screen.

Deno
deno run -q "https://tools.thecodecodex.com/cli.js?tool=timestamp"
Node.js / Bun
curl -s https://tools.thecodecodex.com/cli.js | node --input-type=module - timestamp t=…
ParameterDescriptionDefault
ttimestamp (s, ms, µs ou ns)agora
datedata ISO para converter em timestamp—

Requires Deno, Node.js or Bun. With Deno the script runs with no permissions: it cannot read files or access the network. Central Bank indicators are from the day the site was published.

More in Development