System & developer time

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

Convert a Unix timestamp to a readable date, or the other way around.

Useful shortcuts for Unix timestamps

Unix clock

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