Timestamp Converter

Convert timestamp to date

Timestamp to date

Current Unix epoch: 1774630069
Units: auto · s · ms · μs · ns
Local2026-03-27 16:47:49
UTCFri, 27 Mar 2026 16:47:49 GMT
Seconds1774630069
Millis1774630069000
Micros1774630069000000
Nanos1774630069000000000

Convert date to timestamp

Pick date:

Seconds1774630069
Millis1774630069000
Micros1774630069000000
Nanos1774630069000000000

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 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