Unix timestamp converter
Turn an epoch timestamp into a readable date, in your time zone and UTC, or turn a date back into a timestamp.
Current Unix timestamp
…
| Detected | Seconds |
|---|---|
| Your time (Asia/Calcutta) | 11/27/2026, 5:30:00 AM |
| UTC | Fri, 27 Nov 2026 00:00:00 GMT |
| ISO 8601 | 2026-11-27T00:00:00.000Z |
| Relative | in 19 days |
Get a timestamp in your language
// JavaScript
Math.floor(Date.now() / 1000)
# Python
import time
int(time.time())
# Bash
date +%sFrequently asked questions
What is a Unix timestamp?
It's the number of seconds since 00:00:00 UTC on 1 January 1970, known as the Unix epoch. It's the same everywhere in the world, which makes it handy for storing times.
Seconds or milliseconds?
Unix tools and most APIs use seconds (10 digits today). JavaScript's Date.now() uses milliseconds (13 digits). This converter detects which one you pasted.
How do I get the current timestamp in code?
JavaScript: Math.floor(Date.now() / 1000). Python: int(time.time()). Bash: date +%s.
New games, tools and tutorials
About one short email a week. No spam, one-click unsubscribe.