|
Converters & Units 100% Client-Side · 0 Bytes Sent to Server Instant In-Memory Execution

Unix Timestamp to Date Converter

Inspect, convert, and format Unix epoch timestamps in seconds and milliseconds with real-time relative time calculations and live current timestamp ticker.

Current Live Unix Epoch Timestamp
1793076193seconds

Convert Unix Epoch Timestamp to Date & Time

Detected: seconds (10 digits)
Jump offset:
Formatted Local TimeTuesday, October 27, 2026 at 4:43:13 AM UTC
UTC / GMT StringTue, 27 Oct 2026 04:43:13 GMT
ISO 8601 String2026-10-27T04:43:13.000Z
Relative Age0 seconds ago
Unix Epoch (Seconds)1793076193
Unix Epoch (Milliseconds)1793076193000

Convert Human Date & Time to Unix Timestamp

Seconds (10 Digits)1793076180
Milliseconds (13 Digits)1793076180000

Get Current Unix Epoch in Programming Languages

JavaScript / TypeScript
Math.floor(Date.now() / 1000) // seconds
Date.now() // milliseconds
Python
import time
int(time.time()) # seconds
int(time.time() * 1000) # milliseconds
Bash / Shell
date +%s # seconds
date +%s%3N # milliseconds
Go (Golang)
import "time"
time.Now().Unix() // seconds
time.Now().UnixMilli() // milliseconds
PHP
time(); // seconds
(int)(microtime(true) * 1000); // milliseconds
Java
import java.time.Instant;
Instant.now().getEpochSecond(); // seconds
System.currentTimeMillis(); // milliseconds
C# (.NET)
DateTimeOffset.UtcNow.ToUnixTimeSeconds();
DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
Rust
use std::time::{SystemTime, UNIX_EPOCH};
SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_secs();
SQL (PostgreSQL / MySQL)
-- PostgreSQL
SELECT extract(epoch from now());
-- MySQL
SELECT UNIX_TIMESTAMP();

Step-by-Step Instructions

1

Input timestamp or date

Type a Unix epoch timestamp (10 or 13 digits) or pick a calendar date.

2

View converted formats

See real-time conversions in UTC, Local Timezone, ISO-8601, and Relative Time (e.g., '2 hours ago').

3

Copy current epoch

Use the live ticker to grab the exact current Unix timestamp.

Key Features & Capabilities

  • Bidirectional conversion: Timestamp to Date and Date to Timestamp
  • Supports both 10-digit (seconds) and 13-digit (milliseconds) timestamps
  • Displays UTC, Local Time, ISO-8601, and Relative humanized time
  • Live updating current Unix timestamp clock

Frequently Asked Questions

How do I determine whether a Unix timestamp is in seconds or milliseconds?

Standard 10-digit Unix timestamps represent seconds elapsed since January 1, 1970 UTC (e.g., `1712400000`). 13-digit Unix timestamps represent milliseconds (common in JavaScript `Date.now()`, Java, and Python millisecond APIs, e.g., `1712400000000`). 16-digit (microseconds) and 19-digit (nanoseconds) timestamps are common in high-frequency trading and distributed logging engines.

What is the Year 2038 Problem (Y2038 / Epochalypse)?

On January 19, 2038 at 03:14:07 UTC, 32-bit signed integer representations of Unix time will reach their maximum limit (`2,147,483,647` seconds) and overflow to `-2,147,483,648`, misinterpreting the date as December 13, 1901. Modern systems mitigate this by transitioning to 64-bit integer timestamp architectures, extending support for hundreds of billions of years.

How does the converter handle daylight saving time (DST) and timezones?

The tool converts the UTC epoch counter to both UTC (ISO 8601 / RFC 3339) and your local system timezone using the IANA Time Zone Database (TZDB), automatically calculating historical and regional Daylight Saving Time offsets.

What formats can I export the converted date into?

You can copy the converted date in ISO 8601 (`YYYY-MM-DDTHH:mm:ssZ`), RFC 2822 / 1123 (`Mon, 06 Oct 2026 20:45:00 GMT`), SQL DATETIME (`YYYY-MM-DD HH:MM:SS`), or custom human-readable formats.

Discover complementary online tools in the same workflow.