Util Tools logo Util Tools
Ferramentas para Desenvolvedores

Timestamp Converter

Convert Unix timestamps to human-readable dates and back.

  • 100% grátis
  • Sem cadastro
  • Executa no navegador

Timestamp → Date

Date → Timestamp

Current Time

Unix (seconds)
-
Unix (milliseconds)
-
UTC
-
Local
-

Common Timestamp Reference

TimestampMeaning
0 January 1, 1970 00:00:00 UTC - the Unix epoch
1000000000 September 9, 2001 01:46:40 UTC
1500000000 July 14, 2017 02:40:00 UTC
2000000000 May 18, 2033 03:33:20 UTC
2147483647 January 19, 2038 - the 32-bit signed integer limit (Y2038)
Guia

What is a Unix timestamp?

A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, the "Unix epoch". It is a simple, timezone-independent way to represent a moment in time as a single integer, which is why it is used throughout programming, databases, and APIs. This tool converts a timestamp to readable formats and back.

Seconds vs. milliseconds

There are two common scales. Classic Unix timestamps count seconds (a 10-digit number around now), while JavaScript and many APIs use milliseconds (a 13-digit number). Mixing them up is a frequent bug that puts a date thousands of years off. This converter auto-detects which scale you pasted based on its length, so you do not have to guess.

Why a timestamp can show the wrong time

A timestamp represents an absolute instant in UTC; the local time it displays depends on the timezone used to format it. If a date looks off by several hours, the usual cause is a timezone mismatch between where the timestamp was created and where it is being displayed. The tool shows local time, UTC, ISO 8601, and RFC 2822 side by side so the difference is clear.

Getting the current timestamp in code

  • JavaScript: Date.now() (milliseconds) or Math.floor(Date.now()/1000) (seconds)
  • Python: int(time.time())
  • PHP: time()
  • SQL: UNIX_TIMESTAMP() (MySQL)

Última atualização: setembro de 2026

Frequently Asked Questions

Esta ferramenta é gratuita e segura?
Sim, é 100% gratuita e roda de forma privada diretamente no seu navegador.