Convert Unix timestamps to human-readable dates, or any date back to a Unix timestamp — with timezone support and 12 output formats.
Free Unix Timestamp Converter | Convert Timestamps to Dates Instantly
Every developer needs a reliable Unix timestamp converter. Paste any Unix timestamp — seconds, milliseconds, or microseconds — and get 12 date formats instantly. Or go the other way: pick a date, select your timezone, and get the exact Unix timestamp in one click.
What Is a Unix Timestamp?
A Unix timestamp is a single integer that represents the number of seconds elapsed since the Unix Epoch — midnight on 1 January 1970, Coordinated Universal Time (UTC). It is the most universal way to represent a specific moment in time in software, because it requires no timezone information, no calendar system, and no locale — just a number.
For example, the Unix timestamp 1705312800 represents 15 January 2024, 10:00:00 UTC. Any system in the world, in any timezone, that reads 1705312800 will arrive at the same absolute moment in time.
The Unix timestamp standard is formally defined in POSIX{target=”_blank” rel=”noopener”} and is supported natively in every major programming language, database, and operating system.
How to Use This Unix Timestamp Converter
Converting a timestamp to a date: Select “Timestamp → Date” mode, paste your Unix timestamp into the input field, and all 12 output formats appear instantly. The tool auto-detects whether your timestamp is in seconds, milliseconds, or microseconds — no manual selection needed.
Converting a date to a timestamp: Switch to “Date → Timestamp” mode, fill in the year, month, day, hour, minute, and second fields, then choose your timezone from the dropdown. The tool converts your local date and time to the exact UTC Unix timestamp.
Using the live clock: The live clock at the top shows the current Unix timestamp updating every second, alongside the UTC and local time. Hit “Use current time” to load it into either mode instantly.
Using presets: Quick preset buttons give you common reference points — the current time, yesterday, Unix epoch (0), the Y2K timestamp, and the Year 2038 problem{target=”_blank” rel=”noopener”} boundary — all loadable with a single click.
All 12 Output Formats Explained
ISO 8601 is the international standard for representing dates and times (2024-01-15T10:00:00Z). It is the format required by most REST APIs, JSON payloads, and database timestamp columns. The trailing Z indicates UTC.
ISO 8601 with milliseconds adds three digits of sub-second precision (2024-01-15T10:00:00.000Z). Required by many JavaScript APIs, logging systems, and high-precision event tracking.
RFC 2822 is the format used in email headers and HTTP Date headers (Mon, 15 Jan 2024 10:00:00 +0000). You will see this format in raw email source, HTTP responses, and RSS feed pubDates.
RFC 3339 is similar to ISO 8601 but explicitly specifies the timezone offset rather than using Z (2024-01-15T10:00:00+00:00). Used in IETF standards, Atom feeds, and some API specifications.
UTC string is a human-readable UTC representation used in browser JavaScript (Date.prototype.toUTCString()).
US format displays the date in the American month/day/year convention with 12-hour clock (1/15/2024 10:00:00 AM).
EU format displays the date in the European day/month/year convention with 24-hour clock (15/01/2024 10:00:00).
Date only strips the time component, useful for date-only database fields and display purposes.
Time only (UTC) strips the date, useful for time-of-day comparisons and scheduling logic.
Long date spells out the full weekday and month name (Monday, January 15, 2024).
Short date abbreviates the month (Jan 15, 2024).
Unix microseconds — for systems requiring microsecond precision, this multiplies the timestamp by 1,000,000.
Timezone Support
The Date → Timestamp converter includes 35 of the world’s most commonly used timezones, with your local timezone pre-selected automatically. This covers all major regions including US, Europe, Asia, Australia, Africa, and South America.
Timezone conversion uses the IANA timezone database{target=”_blank” rel=”noopener”} via the browser’s built-in Intl.DateTimeFormat API, which correctly handles daylight saving time transitions automatically.
Frequently Asked Questions
What is a Unix timestamp converter? A Unix timestamp converter is a tool that translates a Unix timestamp (a large integer representing seconds since 1 January 1970 UTC) into a human-readable date and time, or converts a human-readable date and time back into a Unix timestamp. Our free Unix timestamp converter supports seconds, milliseconds, and microseconds input, 35 timezones, and 12 output formats.
What is the Unix epoch? The Unix epoch is the reference point for all Unix timestamps — midnight on 1 January 1970, UTC. A Unix timestamp of 0 means exactly that moment. All positive timestamps are after that point; negative timestamps represent dates before 1970.
What is the difference between Unix timestamp in seconds and milliseconds? A Unix timestamp in seconds is a 10-digit number (e.g. 1705312800). In milliseconds it is 13 digits (e.g. 1705312800000) — exactly 1,000 times larger. JavaScript’s Date.now() returns milliseconds; most Unix system calls return seconds. Our tool detects which format you pasted automatically based on the number of digits.
What is the Year 2038 problem? The Year 2038 problem occurs because many older 32-bit systems store Unix timestamps as a signed 32-bit integer, which overflows at 2,147,483,647 — representing 03:14:07 UTC on 19 January 2038. After that point, the counter wraps to a large negative number, causing date errors. Modern 64-bit systems are not affected. You can test the boundary value using the “2038 problem” preset button in this tool.
How do I convert a Unix timestamp in JavaScript?
javascript
// Timestamp to date
const date = new Date(1705312800 * 1000); // multiply by 1000 for ms
console.log(date.toISOString()); // "2024-01-15T10:00:00.000Z"
// Date to timestamp
const ts = Math.floor(new Date('2024-01-15T10:00:00Z').getTime() / 1000);
console.log(ts); // 1705312800
How do I convert a Unix timestamp in Python?
python
import datetime
# Timestamp to date
ts = 1705312800
dt = datetime.datetime.utcfromtimestamp(ts)
print(dt) # 2024-01-15 10:00:00
# Date to timestamp
import calendar
dt = datetime.datetime(2024, 1, 15, 10, 0, 0)
ts = calendar.timegm(dt.timetuple())
print(ts) # 1705312800
```
**Why do some timestamps have 13 digits instead of 10?**
A 13-digit timestamp is in milliseconds rather than seconds — it is the standard seconds timestamp multiplied by 1,000. JavaScript’s `Date.now()` always returns milliseconds. When working with JavaScript APIs, always divide by 1,000 to get seconds, or multiply a seconds timestamp by 1,000 before passing it to `new Date()`.
**Does this tool handle daylight saving time?**
Yes. The Date → Timestamp converter uses the browser’s built-in `Intl.DateTimeFormat` API with the IANA timezone database, which correctly applies daylight saving time rules for your chosen timezone automatically.
