System & Developer Time

Unix Timestamp

Seconds elapsed since January 1, 1970 (UTC), live counting with millisecond precision.

Current Unix epoch timestamp
1790065988

1790065988895 milliseconds

Epoch to date

Date to epoch

Getting the epoch in various languages

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