Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates.

Current Unix Timestamp

1773828972

Unix Timestamp → Date

UTCWed, 18 Mar 2026 10:16:12 GMT
ISO 86012026-03-18T10:16:12.000Z
LocalMarch 18, 2026 10:16:12
Milliseconds1773828972000

Date → Unix Timestamp

Unix Timestamp1773828972

What is Unix Time?

Unix time (also called epoch time or POSIX time) counts the number of seconds elapsed since January 1, 1970, 00:00:00 UTC — a moment known as the Unix epoch. It was standardized alongside the Unix operating system at Bell Labs and has since become the universal time representation in software.

Because Unix timestamps are timezone-agnostic integers, they are ideal for storing and transmitting dates in APIs, databases, and logs. Converting to a human-readable date only happens at display time, using the viewer's local timezone — which is why the same timestamp shows a different clock time in New York and Tokyo.

Reference Timestamps

EventUTC DateTimestamp (s)
Unix EpochJan 1, 1970 00:00:00 UTC0
Y2KJan 1, 2000 00:00:00 UTC946684800
iPhone launchJan 9, 2007 18:00:00 UTC1168365600
1 billion secondsSep 9, 2001 01:46:40 UTC1000000000
1.5 billion secondsJul 14, 2017 02:40:00 UTC1500000000
1.7 billion secondsNov 14, 2023 22:13:20 UTC1700000000
2038 overflow (32-bit)Jan 19, 2038 03:14:07 UTC2147483647

Get the Current Timestamp in Code

JavaScript

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

Python

import time
int(time.time())

PHP

time()

Go

time.Now().Unix()

Bash

date +%s

PostgreSQL

EXTRACT(EPOCH FROM NOW())

The Year 2038 Problem

The maximum 32-bit signed integer (2,147,483,647) corresponds to January 19, 2038 at 03:14:07 UTC. Systems storing timestamps as 32-bit integers will overflow at that moment, potentially jumping to 1901. Modern 64-bit systems are unaffected — they can represent dates up to year ~292 billion. If you maintain legacy C/embedded code using time_t as a 32-bit integer, migration to 64-bit is recommended before 2038.

Frequently Asked Questions