Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa with a live clock and multiple formats.
Advertisement
Convert
Converted Results
Unix Timestamp (seconds)
1772522106
Unix Timestamp (milliseconds)
1772522106000
ISO 8601
2026-03-03T07:15:06.000Z
UTC String
Tue, 03 Mar 2026 07:15:06 GMT
Local Date & Time
Tuesday, March 3, 2026 at 07:15:06 AM UTC
Relative Time
0 seconds ago
Day of Year
62
Week Number
10
Advertisement
How to Use the Timestamp Converter
Unix timestamps are the backbone of time representation in computing. Every database record, server log, API response, and file modification date uses timestamps under the hood. This converter makes it easy to translate between machine-readable timestamps and human-readable dates.
The live clock at the top shows the current time alongside the current Unix timestamp, updating every second. This is useful for quickly grabbing the current timestamp for testing or for verifying that a timestamp in your code is in the right ballpark.
To convert a timestamp, choose your input format using the tabs. Unix Timestamp mode accepts seconds or milliseconds (use the toggle). Date Picker mode provides a native date-time selector. ISO 8601 mode accepts the standard international date format used in APIs and data exchange.
As you enter your input, the converter instantly displays results in multiple formats: Unix seconds, Unix milliseconds, ISO 8601, UTC string, local date and time, relative time (like "3 hours ago"), day of year, and week number. Each result can be copied to your clipboard with one click.
Quick-access buttons let you jump to common timestamps: the current time, the start of today, the Unix epoch (January 1, 1970), Y2K (January 1, 2000), and the 32-bit maximum (January 19, 2038 — the year-2038 problem boundary). These are helpful reference points when debugging time-related issues.
Frequently Asked Questions
What is a Unix timestamp?
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). It is a universal, timezone-independent way to represent a point in time, widely used in programming, databases, and APIs.
What is the difference between seconds and milliseconds?
Unix timestamps are traditionally measured in seconds since the epoch. However, many programming languages and APIs (like JavaScript's Date.now()) use milliseconds. A millisecond timestamp has 13 digits (e.g., 1700000000000), while a second timestamp has 10 digits (e.g., 1700000000). Use the toggle to switch between formats.
What is ISO 8601?
ISO 8601 is an international standard for representing dates and times as strings. The format is YYYY-MM-DDTHH:mm:ss.sssZ, where T separates the date and time, and Z indicates UTC. Examples: 2024-01-15T12:30:00Z (UTC) or 2024-01-15T07:30:00-05:00 (with timezone offset).
What is the Year 2038 problem?
The Year 2038 problem (also called the Unix Millennium Bug) occurs because 32-bit systems store Unix timestamps as a signed 32-bit integer. The maximum value is 2,147,483,647, which corresponds to January 19, 2038, at 03:14:07 UTC. After this, timestamps overflow — potentially causing crashes or incorrect dates. Modern 64-bit systems avoid this issue.
Why is the relative time useful?
Relative time (like '2 hours ago' or 'in 3 days') provides immediate context about how far away a date is from the present moment. This is useful when debugging timestamps in logs, APIs, or databases — you can instantly see whether a timestamp represents yesterday, last year, or the distant future.
Does this tool work offline?
Yes, all conversions happen in your browser using JavaScript's built-in Date object. No server requests are made, and no data is sent over the network. The tool works entirely offline once the page is loaded.