Unix Timestamp Converter
A free online Unix timestamp converter; convert Unix time to a date, or convert a date to a Unix timestamp. Auto-detects seconds vs. milliseconds. Unix time, POSIX time, and epoch time are all the same value; this tool handles them interchangeably.
Current Unix timestamp
Milliseconds: 1700000000000
Timestamp → Date
- UTC
- 2023-11-14 22:13:20
- Local
- 2023-11-14 22:13:20 UTC
- ISO 8601
- 2023-11-14T22:13:20.000Z
- RFC 2822
- Tue, 14 Nov 2023 22:13:20 +0000
- Day of week
- Tuesday
Date → Timestamp
- Seconds
- 1767268800
- Milliseconds
- 1767268800000
- UTC
- 2026-01-01 12:00:00
- ISO 8601
- 2026-01-01T12:00:00.000Z
Date to Unix timestamp
To convert a date to a Unix timestamp, pick the date and time zone on the right side of the converter above. The result is the number of seconds (or milliseconds) between 1970-01-01T00:00:00Z and your chosen moment. The tool handles DST transitions correctly because it uses the IANA tz database via Luxon.
Convert Unix time to UTC
A Unix timestamp is already in UTC; there is no time zone to "convert from". The converter above shows the human-readable UTC form (e.g. 2026-06-02T18:42:23Z) in the UTC row of the result panel. For ISO 8601 specifically, see the ISO 8601 validator + builder.
Unix time, POSIX time, and epoch time
All three names refer to the same value: the number of seconds since January 1, 1970 UTC. POSIX is the formal standard, Unix is the historical operating-system name, and "epoch time" is the everyday programmer term. This converter accepts any of them; they are interchangeable as a number. For the full history and the Y2038 problem, see What is epoch time?
Epoch milliseconds vs. epoch seconds
Standard Unix time is in seconds (10 digits today). JavaScript's Date.now(), Java's System.currentTimeMillis(), and many JSON APIs use milliseconds (13 digits). This tool detects the unit by digit count and converts in both directions automatically. See Epoch time in code for the seconds-vs-milliseconds idiom in each major language.
Reading a timestamp at a glance
A few landmarks make raw timestamps readable without a tool. 1000000000 was September 9, 2001. 1500000000 was July 14, 2017. 1700000000 was November 14, 2023. 2000000000 will arrive on May 18, 2033. Each 86,400 is one day and each 31,536,000 is a common year, so a value 2,592,000 above another is 30 days later. If a value has thirteen digits it is milliseconds; drop the last three to compare it with a seconds timestamp.
Timestamps and time zones
The timestamp itself is zone-free; the zone only matters when you turn it into a calendar date for a person. 1748876543 is 18:42 UTC, 14:42 in New York, 11:42 in Los Angeles, and 00:12 the next day in Kolkata, all the same instant. That is why systems store Unix time and convert at the edge. Pick the zone in the converter and the local row shows the wall-clock time with the offset that applied on that date, including daylight saving.
The year 2038 problem
Systems that store Unix time in a signed 32-bit integer run out of room at 2147483647, which is 03:14:07 UTC on January 19, 2038. One second later the value wraps to a negative number and reads as December 1901. Modern operating systems, databases, and languages use 64-bit integers, which push the limit out by about 292 billion years, but embedded devices, old file formats, and some database schemas still carry the 32-bit field. If a converter shows a date in 1901 for a recent event, that wrap is usually the cause.
Precision: seconds, milliseconds, and beyond
Seconds are enough for most records. JavaScript, Java, and many JSON APIs use milliseconds. Database engines, tracing systems, and financial feeds often use microseconds or nanoseconds, and the same digit-count rule extends: sixteen digits for microseconds, nineteen for nanoseconds. Mixing units is the most common timestamp bug, and it shows up as dates in 1970 (seconds treated as milliseconds) or dates tens of thousands of years out (the reverse). The converter auto-detects seconds and milliseconds; for finer units, divide first.
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 at 00:00:00 UTC, excluding leap seconds. It is the standard machine-readable way to represent a moment in time because it is a single integer with no time-zone ambiguity.
- How do I convert a Unix timestamp to a date?
- Paste the Unix timestamp into the left input on this page. The tool decodes it into UTC, your local time, and ISO 8601 format instantly. It works for both seconds (10 digits, e.g. 1700000000) and milliseconds (13 digits, e.g. 1700000000000); the unit is auto-detected.
- How do I convert a date to a Unix timestamp?
- Pick a date and time zone on the right side of the converter. The tool generates the matching Unix timestamp in both seconds and milliseconds. The "date to epoch" direction is just as fast as the reverse; both run client-side using the IANA time zone database.
- How do I convert Unix time to UTC?
- A Unix timestamp is already in UTC by definition; it is the seconds since 1970-01-01T00:00:00Z. The "UTC" output row on this page shows the human-readable UTC date and time for any Unix timestamp you paste. For example, 1748876543 corresponds to 2026-06-02T18:42:23Z.
- Is "POSIX time" the same as Unix time?
- Yes. POSIX time, Unix time, and epoch time are three names for the same thing: an integer counting the seconds since January 1, 1970 UTC. POSIX is the formal standards-body name, Unix is the historical name from the operating system, and "epoch time" is the everyday programmer term.
- Is the timestamp in seconds or milliseconds?
- This tool auto-detects: any integer with 13 or more digits is treated as milliseconds, otherwise as seconds. You can paste either format. Most APIs use seconds; JavaScript Date.now() and most JVM languages use milliseconds.
- What is the current Unix timestamp?
- The clock at the top of this page shows the current Unix timestamp live. It updates every second and never leaves your browser. You can also click the "Now" button to fill the current epoch into the converter input.
- Is this Unix time converter free?
- Yes. This is a free online Unix timestamp converter. Every calculation runs entirely in your browser; no sign-up, no server round-trip, no tracking of your timestamps. Bookmark this page if you need a permanent reference.
- How do I convert epoch time to EST or PST?
- Paste the timestamp, then choose America/New_York or America/Los_Angeles in the zone picker. The local row shows the wall-clock time with the offset in force on that date, so you get EST or EDT, PST or PDT, automatically. Any IANA zone works the same way.
- What was Unix time 0?
- Midnight at the start of January 1, 1970, UTC: 1970-01-01T00:00:00Z. Every Unix timestamp counts seconds forward from that instant, and negative values count backwards into 1969 and earlier. The date was chosen as a convenient round number by the early Unix developers, not for any astronomical reason.
- How many digits does a Unix timestamp have?
- Ten digits for seconds until the year 2286, thirteen for milliseconds, sixteen for microseconds, and nineteen for nanoseconds. Timestamps written in 2026 start with 17 in seconds and 17 followed by three more digits in milliseconds. A nine-digit value is a date before September 2001.
- Does Unix time count leap seconds?
- No. Unix time assumes every day has exactly 86,400 seconds. When a leap second is inserted, the clock either repeats a second or is smeared across the surrounding hours, depending on the operating system. This is why two timestamps can differ by 86,400 across a leap-second day even though 86,401 real seconds passed.
- What is the epoch day number?
- The number of whole days since January 1, 1970: the timestamp divided by 86,400 and rounded down. Day 0 is 1970-01-01, and day 20,000 fell on 2024-10-04. Databases and spreadsheets sometimes store dates this way because it fits in a small integer and sorts naturally.