TTKTheTextKit

Unix Timestamp & Epoch Converter

Convert Unix epoch timestamps to human-readable calendar dates and vice-versa in real time. The converter automatically detects seconds versus milliseconds by digit length, displays both UTC and local timezone equivalents, and provides a one-click 'Now' button for current system time.

Unix Timestamp to Human DateAuto-detected: Seconds
UTC Time

Tue, 14 Nov 2023 22:13:20 GMT

ISO: 2023-11-14T22:13:20.000Z

Your Local Timezone

Tuesday, November 14, 2023 at 10:13:20 PM UTC

Relative: calculating...

Human Date to Unix Timestamp
Epoch (Seconds)

1700000000

Epoch (Milliseconds)

1700000000000

Related Tools

[7 suggestions]

Guides for the Unix Timestamp & Epoch Converter

About the Unix Timestamp & Epoch Converter

Unix time (also known as Epoch time or POSIX time) measures time by tracking the number of seconds that have elapsed since the Unix epoch: 00:00:00 UTC on January 1, 1970, excluding leap seconds. It is the universal standard for timestamping in operating systems, databases (PostgreSQL, MySQL, MongoDB), log files, JWT expiration tokens, and REST APIs. Backend systems typically store timestamps as 10-digit integers (seconds), while JavaScript, Java, and modern web environments use 13-digit integers (milliseconds). This tool seamlessly handles both formats through automatic digit-count detection (values below 100 billion, which means 11 or fewer digits, are read as seconds, and values of 100 billion or more, which means 12 or more digits, are read as milliseconds; a decimal such as 1700000000.5 counts as seconds). It computes the ISO 8601 string, full UTC format, localized system timezone format, day-of-week, day of year, and relative time (e.g. '3 hours ago' or 'in 2 days'). All temporal conversions use native JavaScript Date methods without external network latency.

How does the tool distinguish between seconds and milliseconds?▾

The tool auto-detects based on size. Standard Unix timestamps in seconds have 10 digits (e.g. 1700000000), while millisecond timestamps have 13 digits (e.g. 1700000000000). Any value of 100 billion or more is read as milliseconds, and anything smaller, including values with decimals, as seconds.

What is the Year 2038 problem?▾

On January 19, 2038, 32-bit signed integers will overflow because they exceed 2,147,483,647 seconds. Systems that store time as a signed 64-bit count of seconds are safe for about 292 billion years, and JavaScript's Date object, which counts milliseconds, runs until the year 275760.

Does converting timestamps depend on my computer's clock?▾

Converting an existing timestamp to UTC is purely mathematical and absolute. However, converting to 'Local Time' uses your operating system's configured timezone and daylight saving settings.