Conversor de Unix Timestamp

Converta entre timestamps Unix e datas legíveis.

Unix Timestamp atual

1773837178

Unix Timestamp → Data

UTCWed, 18 Mar 2026 12:32:58 GMT
ISO 86012026-03-18T12:32:58.000Z
LocalMarch 18, 2026 12:32:58
Milissegundos1773837178000

Data → Unix Timestamp

Unix Timestamp1773837178

Ferramentas Relacionadas

O que é Unix Time?

Unix time (also called epoch time or POSIX time) counts the number of seconds elapsed since January 1, 1970, 00:00:00 UTC — a moment known as the Unix epoch. It was standardized alongside the Unix operating system at Bell Labs and has since become the universal time representation in software.

Because Unix timestamps are timezone-agnostic integers, they are ideal for storing and transmitting dates in APIs, databases, and logs. Converting to a human-readable date only happens at display time, using the viewer's local timezone — which is why the same timestamp shows a different clock time in New York and Tokyo.

Timestamps de referência

EventoData UTCTimestamp (s)
Unix EpochJan 1, 1970 00:00:00 UTC0
Y2KJan 1, 2000 00:00:00 UTC946684800
iPhone launchJan 9, 2007 18:00:00 UTC1168365600
1 billion secondsSep 9, 2001 01:46:40 UTC1000000000
1.5 billion secondsJul 14, 2017 02:40:00 UTC1500000000
1.7 billion secondsNov 14, 2023 22:13:20 UTC1700000000
2038 overflow (32-bit)Jan 19, 2038 03:14:07 UTC2147483647

Obter o timestamp atual em código

JavaScript

Math.floor(Date.now() / 1000)

Python

import time
int(time.time())

PHP

time()

Go

time.Now().Unix()

Bash

date +%s

PostgreSQL

EXTRACT(EPOCH FROM NOW())

O problema do ano 2038

The maximum 32-bit signed integer (2,147,483,647) corresponds to January 19, 2038 at 03:14:07 UTC. Systems storing timestamps as 32-bit integers will overflow at that moment, potentially jumping to 1901. Modern 64-bit systems are unaffected — they can represent dates up to year ~292 billion. If you maintain legacy C/embedded code using time_t as a 32-bit integer, migration to 64-bit is recommended before 2038.

Perguntas Frequentes

Related Tools