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.
Convert Unix Epoch Timestamp to Date & Time
Detected: seconds (10 digits)Convert Human Date & Time to Unix Timestamp
Get Current Unix Epoch in Programming Languages
Math.floor(Date.now() / 1000) // seconds Date.now() // milliseconds
import time int(time.time()) # seconds int(time.time() * 1000) # milliseconds
date +%s # seconds date +%s%3N # milliseconds
import "time" time.Now().Unix() // seconds time.Now().UnixMilli() // milliseconds
time(); // seconds (int)(microtime(true) * 1000); // milliseconds
import java.time.Instant; Instant.now().getEpochSecond(); // seconds System.currentTimeMillis(); // milliseconds
DateTimeOffset.UtcNow.ToUnixTimeSeconds(); DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
use std::time::{SystemTime, UNIX_EPOCH};
SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_secs();-- PostgreSQL SELECT extract(epoch from now()); -- MySQL SELECT UNIX_TIMESTAMP();
Step-by-Step Instructions
Input timestamp or date
Type a Unix epoch timestamp (10 or 13 digits) or pick a calendar date.
View converted formats
See real-time conversions in UTC, Local Timezone, ISO-8601, and Relative Time (e.g., '2 hours ago').
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.
Related Utilities
Discover complementary online tools in the same workflow.
Epoch / Unix Timestamp Converter
Convert Unix epoch timestamps (seconds & milliseconds) to human-readable dates and back.
Roman Numeral Converter - Arabic to Roman & Date Translator
Convert numbers to Roman numerals (with Vinculum overlines up to 3,999,999), decode Roman numerals, and translate dates into classical Latin numerals.
Conversion Calculator - Universal Unit Converter
Convert between standard and metric units for length, weight, area, volume, temperature, speed, digital storage, and pressure.
Text to Binary, Hex, Octal Converter
Convert plain text to binary code (0s & 1s), Hexadecimal, Octal, and ASCII Decimal values.
Convert Text File to Excel - TXT to XLSX Converter
Convert plain text (.txt, .dat, .tsv, .log) into Microsoft Excel (.xlsx, .xls, .csv) spreadsheets with smart auto-column detection and live table preview.
mL to oz Converter - Milliliters to Fluid Ounces
Convert milliliters (mL) to US and Imperial fluid ounces (fl oz) with kitchen cups, tablespoons, teaspoons, and ingredient weight estimates.