Unix Time Converter Online

Free Unix time converter for epoch ↔ date: seconds through nanoseconds, live Unix epoch, UTC and local views, plus copy-paste snippets. Private, fast, and built for logs, APIs, and debugging.

Timestamp to date

Current Unix epoch: 1774802821
Units: auto · s · ms · μs · ns
Local2026-03-29 16:47:01
UTCSun, 29 Mar 2026 16:47:01 GMT
Seconds1774802821
Millis1774802821000
Micros1774802821000000
Nanos1774802821000000000

Convert date to timestamp

Pick date:

Seconds1774802821
Millis1774802821000
Micros1774802821000000
Nanos1774802821000000000

What is Unix timestamp?

A Unix timestamp (also called Unix time or POSIX time) is the number of seconds since 1970-01-01 00:00:00 UTC.

It is a convenient way to store and compare time values across systems. Most systems treat it as a continuous count of seconds and do not count leap seconds.

Some 32-bit systems overflow in 2038 (the Year 2038 problem).

Code examples

Get current epoch time and convert an epoch timestamp to a human-readable date (replace the example value with yours). 1800000000.

JavaScript
// now (seconds)
Math.floor(Date.now() / 1000)

// epoch -> date
new Date(1800000000 * 1000).toISOString()
Python
import time

# now (seconds)
int(time.time())

# epoch -> date (local)
time.ctime(1800000000)
Go
package main

import (
  "fmt"
  "time"
)

func main() {
  fmt.Println(time.Now().Unix())
  fmt.Println(time.Unix(1800000000, 0).UTC())
}
SQL (PostgreSQL)
-- now (seconds)
SELECT EXTRACT(EPOCH FROM now());

-- epoch -> timestamp
SELECT TO_TIMESTAMP(1800000000);
Unix/Linux shell
date +%s
date -d @1800000000
macOS
date +%s
date -j -r 1800000000

Why this Unix time converter stands out

  • Two-way Unix time conversion

    Map epoch numbers to local and UTC datetime, or pick a calendar time to export Unix time in the precision your stack expects.

  • Units for every timestamp

    Auto-detect or set seconds, milliseconds, microseconds, or nanoseconds so epoch values from APIs and databases line up without guesswork.

  • Live Unix epoch

    Watch the current Unix epoch tick beside the form so you always see “now” next to the values you convert.

  • Code-ready output

    JavaScript, Python, Go, SQL, and shell snippets mirror the on-screen Unix time conversion in your repo.

How it works

  1. 1

    Paste or type Unix time

    Enter a numeric Unix timestamp, choose a unit, or rely on auto-detect from digit length for quick conversion.

  2. 2

    Pick a date and time

    Use the picker to turn a calendar moment into epoch seconds, milliseconds, and more—ideal when you start from human-readable dates.

  3. 3

    Read every representation

    Compare local time, UTC, and raw epoch side by side for debugging, QA, and API checks.

Why developers use this tool

  • Private by design

    Runs client-side in your browser—inputs are not stored on our servers.

  • Built for real timestamps

    Millisecond and microsecond values from logs and JSON fit naturally in this timestamp converter workflow.

  • Ship faster

    Inline examples reinforce the on-screen epoch converter output so engineers can mirror the same logic in code.

What users say

Perfect for quick checks on log lines and API responses—my go-to epoch converter in the browser.

AlexBackend developer

The unit switch saves me from guessing ms vs seconds when incidents spike.

JamieSRE

Clear layout and examples helped me grok Unix time faster than docs alone.

RileyStudent

FAQs

What is a Unix timestamp?
It counts from the Unix epoch (1970-01-01 00:00:00 UTC), usually in seconds or finer units—exactly what this Unix time converter displays beside local and UTC.
Why are some values 13 digits?
That is often milliseconds since epoch, common in JavaScript (e.g. Date.now()). The tool accepts those lengths automatically.
Is this tool free?
Yes. Use it online without signing up; conversion stays in your session.
How are time zones handled?
Local time uses your browser settings; UTC and raw epoch values appear together for every result.
What about the year 2038 problem?
32-bit signed seconds overflow around 2038; prefer 64-bit time or finer units for far-future dates.

Ready to convert?

Jump back to the Unix time converter at the top of this page for another epoch or date conversion.

Go to converter