Hora de sistema y desarrollo

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

Convierte una marca de tiempo Unix en una fecha legible, o al revés.

Atajos útiles para marcas de tiempo Unix

Reloj Unix

Epoch a fecha

Fecha a epoch

Obtener el epoch en varios idiomas

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