Unix timestamp
Paste timestamps or dates, one per line. The unit is detected.
- Now (seconds)
- --
- Now (milliseconds)
- --
Write dates year first, such as 2027-02-06 08:30 or 2027-02-06T08:30:00+08:00. Dates like 02/06/2027 mean different days in different places, so they are not guessed. Up to 500 lines.
| Input | Read as | Seconds | Local time | ISO 8601 (UTC) |
|---|
This local time happens twice; one of them was used. Add an offset to be sure.
Discord timestamps (first line)
Paste into a Discord message. Each member sees their own time.
Current timestamp in code
JavaScript
Math.floor(Date.now() / 1000)
Python
import time; int(time.time())
Go
time.Now().Unix()
PostgreSQL
SELECT EXTRACT(EPOCH FROM now())::bigint;
Bash
date +%s