Skip to content

Unix Timestamp Converter

Convert Unix timestamps to dates and dates to timestamps, in seconds to nanoseconds, any time zone, and formats from ISO 8601 to Excel.

  • Free, no sign-up
  • Runs in your browser
  • Sources cited

A Unix timestamp, an ISO 8601 or RFC 2822 date, or a date like 11/14/2023 5:13 PM.

Result

Read as Unix seconds

2023-11-14T17:13:20-05:00

 

Unix time

Seconds
1700000000
Milliseconds
1700000000000
Microseconds
1700000000000000
Nanoseconds
1700000000000000000

Dates

ISO 8601 (UTC)
2023-11-14T22:13:20Z
RFC 3339 in America/New_York
2023-11-14T17:13:20-05:00
RFC 2822 and HTTP date
Tue, 14 Nov 2023 22:13:20 GMT
UTC offset in America/New_York
-05:00

Calendar

Day of the week
Tuesday
Day of the year
318
ISO week
2023-W46
Quarter
Q4

Other systems

Excel serial date (America/New_York)
45244.71759259
Windows FILETIME
133444736000000000
Apple Cocoa seconds
721692800
.NET ticks
638355968000000000
Julian day
2460263.42592593

How to use the timestamp converter

  1. Enter a timestamp or a date

    Paste a Unix timestamp, an ISO 8601 or RFC 2822 date, a date like 11/14/2023 5:13 PM, or press Now for the current time.

  2. Check how it was read

    A label says how the input was understood, such as Unix milliseconds. Numbers are read by their length unless you choose a unit, including Excel, Windows FILETIME and Apple Cocoa values.

  3. Choose a time zone

    Pick any IANA time zone or your own. Dates written without an offset are read in that zone, or in UTC if you prefer.

  4. Copy any format

    Every format has its own copy button: Unix time in four precisions, ISO 8601, RFC 3339, the HTTP date, the ISO week, and more.

  5. Convert a list

    Turn on list mode to convert up to 1,000 lines at once, then copy or download the table as CSV.

How Unix time works

Unix time counts the seconds since 00:00:00 UTC on 1 January 1970, the epoch. POSIX defines it so that every day has exactly 86,400 seconds: leap seconds are not counted, so a timestamp maps to a calendar date and time of day by plain division. Negative values are times before 1970.

Systems use different precisions. Most Unix tools use seconds, JavaScript and Java use milliseconds, and databases and tracing tools often use microseconds or nanoseconds. Today a timestamp in seconds has 10 digits and one in milliseconds has 13, which is how the tool detects the unit. It keeps the instant as whole nanoseconds, so no digits are lost.

RFC 3339, a profile of ISO 8601, writes dates as year-month-day, a T, the time and an offset from UTC, with Z for UTC itself. Email headers use the format of RFC 5322, earlier RFC 2822, and HTTP uses a fixed form of it in GMT, defined in RFC 9110.

Other systems count from other starting points. Windows FILETIME counts 100-nanosecond intervals since 1 January 1601 UTC, and .NET ticks count them since 1 January in year 1. Apple’s Cocoa counts seconds since 1 January 2001. Excel counts days since 30 December 1899 with no time zone at all, so the tool reads and writes Excel dates as wall time in the zone you choose.

Time zones and daylight saving rules come from the IANA time zone database, through your browser. When clocks go forward an hour, the times in between never happen; when they go back, an hour happens twice. The tool tells you when an input falls in either case.

Worked example

Take the timestamp 1700000000. Dividing by 86,400 seconds a day gives 19675 whole days after the epoch and 80000 seconds left over, which is 22:13:20. Counting the days forward from the epoch lands on the date in 2023-11-14T22:13:20Z.

In America/New_York, which is -05:00 from UTC on that date, the same instant is 2023-11-14T17:13:20-05:00. As an HTTP date it is Tue, 14 Nov 2023 22:13:20 GMT; it falls in ISO week 2023-W46. In milliseconds it is 1700000000000, a 13-digit number where the seconds had 10 digits. Excel shows it as 45244.71759259 in that zone.

On the morning clocks went forward in America/New_York, 2023-03-12 02:30 never happened. The tool says so and shows the moment it would have been: 2023-03-12T03:30:00-04:00.

Understanding the result, and common mistakes

Read as
How the tool understood your input. If a millisecond value was read as seconds, the date lands far in the future: choose the unit yourself.
RFC 3339 in a zone
The local date and time in the chosen zone with its offset, so it still names the exact instant.
ISO week
Weeks start on Monday, and week one is the week with the year’s first Thursday, so the first days of January can belong to the previous year’s last week.
  • Mixing seconds and milliseconds. A date in 1970 or tens of thousands of years ahead usually means the wrong unit.
  • Dropping the offset. A date and time without Z or an offset is ambiguous; say which zone it is in.
  • Expecting leap seconds. Unix time skips them, so a leap second such as 23:59:60 is read as the following second.
  • Treating Excel dates as UTC. Excel stores local wall time with no zone.

Frequently asked questions

Is Unix time the same everywhere?

Yes. A timestamp is the same number in every time zone; only the local date and time shown for it change.

What happens in 2038?

Systems that store Unix seconds in a signed 32-bit number overflow on 19 January 2038. Modern systems use 64 bits, which this tool handles, along with dates far in the past or future.

Why is my date off by some hours?

The input had no offset and was read in a different zone. Choose the right zone, or write the offset, such as Z or -05:00.

Can I convert many timestamps at once?

Yes. Turn on list mode and paste one per line, then copy or download the table as CSV.

Is anything sent to a server?

No. Conversion runs in your browser.

Sources

  1. POSIX Base Definitions, General Concepts: Seconds Since the EpochThe Open Group · retrieved Nov 14, 2026
  2. RFC 3339: Date and Time on the Internet: TimestampsRFC Editor · retrieved Nov 14, 2026
  3. RFC 5322: Internet Message FormatRFC Editor · retrieved Nov 14, 2026
  4. RFC 9110: HTTP SemanticsRFC Editor · retrieved Nov 14, 2026
  5. FILETIME structure (minwinbase.h)Microsoft · retrieved Nov 14, 2026
  6. DateTime.Ticks PropertyMicrosoft · retrieved Nov 14, 2026
  7. Time Zone DatabaseInternet Assigned Numbers Authority · retrieved Nov 14, 2026

About these results

  • Conversion runs in your browser. Nothing you enter is sent anywhere.