Timestamp Parser

Copy a timestamp and press Ctrl+V (Cmd+V on Mac) anywhere on this page.
Supports: Unix epoch (s, ms, μs, ns), ISO8601, and human-readable formats.
Examples: 1704067200, 2024-01-01T00:00:00Z, January 1 2024

Pasted Timestamp

Paste a timestamp here or anywhere on the page...
No timestamp pasted yet

Current Time

Command Reference

GNU date
Epoch → ISO8601:
date -d @1234567890 -Iseconds
ISO8601 → Epoch:
date -d "2024-01-18T12:00:00Z" +%s
BSD date
Epoch → ISO8601:
date -r 1234567890 -Iseconds
ISO8601 → Epoch:
date -j -f "%Y-%m-%dT%H:%M:%SZ" "2024-01-18T12:00:00Z" +%s
MySQL
Epoch → ISO8601:
SELECT FROM_UNIXTIME(1234567890);
ISO8601 → Epoch:
SELECT UNIX_TIMESTAMP('2024-01-18 12:00:00');
PostgreSQL
Epoch → ISO8601:
SELECT to_timestamp(1234567890);
ISO8601 → Epoch:
SELECT EXTRACT(epoch FROM '2024-01-18T12:00:00Z'::timestamptz);
JavaScript
Epoch → ISO8601:
new Date(1234567890 * 1000).toISOString()
ISO8601 → Epoch:
new Date('2024-01-18T12:00:00Z').getTime() / 1000
Python
Epoch → ISO8601:
datetime.fromtimestamp(1234567890).isoformat()
ISO8601 → Epoch:
datetime.fromisoformat('2024-01-18T12:00:00').timestamp()
Go
Epoch → ISO8601:
time.Unix(1234567890, 0).Format(time.RFC3339)
ISO8601 → Epoch:
time.Parse(time.RFC3339, "2024-01-18T12:00:00Z").Unix()