Système et développeur

Unix Timestamp Converter | Timestamp to Date & Time | 24TimeNow

Convertir un horodatage Unix en date lisible, ou l’inverse.

Raccourcis utiles pour les horodatages Unix

Horloge Unix

Epoch vers date

Date vers epoch

Obtenir l'epoch dans diverses langues

JavaScript / Node
Math.floor(Date.now() / 1000)
Python
import time; int(time.time())
Go
time.Now().Unix()
Bash / Shell
date +%s
PostgreSQL
EXTRACT(epoch FROM now())::bigint
PHP
time()