Current Unix Timestamp
The current Unix epoch time in seconds and milliseconds, updating live, with the matching UTC and local date.
Unix time (seconds)
—
The current Unix timestamp, live
The counter above reads your device clock and updates every second. Copy it in seconds or milliseconds, or take the ISO 8601 form when you need something a human can read.
Because it comes from your own machine, it is only as accurate as your system clock. If precision matters, compare against an NTP-synchronised source.
Frequently asked questions
Why does this differ from my server time?
This value comes from your device. Server clocks are usually NTP-synchronised, so a difference of a few seconds means your local clock has drifted.
How do I get the current timestamp in code?
JavaScript: Math.floor(Date.now()/1000). Python: int(time.time()). Go: time.Now().Unix(). PHP: time(). SQL: EXTRACT(EPOCH FROM NOW()).
Related tools
Epoch & Unix Timestamp ConverterConvert a Unix timestamp to a human-readable date in any time zone, and back again — seconds, milliseconds or microseconds.Batch Timestamp ConverterPaste a whole column of timestamps or dates and convert every line at once, ready to paste back into a spreadsheet.Time Zone ConverterSee one instant across every major time zone at once, with the offset that actually applied on that date.Duration ConverterConvert a duration between seconds, minutes, hours, clock notation and ISO 8601 — 90m, 01:30:00 and PT1H30M all read the same.Cron Expression ParserRead a cron expression in plain words, field by field, before it runs in production at the wrong time.Age & Date Difference CalculatorExact age in years, months and days, and the gap between two dates — including weekdays only.