Convertisseur de timestamp Unix

Convertissez entre les timestamps Unix et les dates lisibles.

Timestamp Unix actuel

1773837238

Timestamp Unix → Date

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

Date → Timestamp Unix

Timestamp Unix1773837238

Qu'est-ce que le temps Unix ?

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.

Horodatages de référence

ÉvénementDate UTCHorodatage (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

Obtenir l'horodatage actuel en code

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())

Le problème de l'an 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.

Questions Fréquentes

Related Tools