Date & Time

Unix Timestamp and Epoch Converter

Convert Unix, FILETIME, .NET, WebKit and Apple epoch timestamps to dates and back.

Runs entirely in your browser — nothing you paste is uploaded or stored.

Current Unix time
1795908428
2026-11-28T23:27:08.929Z · America/Los_Angeles
Unix seconds
1795908428
Unix milliseconds
1795908428000
ISO 8601 (UTC)
2026-11-28T23:27:08.000Z
RFC 1123 (UTC)
Sat, 28 Nov 2026 23:27:08 GMT
Your local time
Saturday, November 28, 2026 at 3:27:08 PM PST
Relative
just now
Day of week
Saturday
Unix microseconds
1795908428000000Microseconds since 1970-01-01 UTC (Python, Postgres)
Unix nanoseconds
1795908428000000000Nanoseconds since 1970-01-01 UTC (Go, InfluxDB)
Windows FILETIME / LDAP
134403820280000000100-nanosecond intervals since 1601-01-01 UTC (Windows, Active Directory)
.NET ticks
639315052280000000100-nanosecond ticks since 0001-01-01 (DateTime.Ticks)
WebKit / Chrome
13440382028000000Microseconds since 1601-01-01 UTC (Chrome history and cookies)
Apple Cocoa / Core Data
817601228Seconds since 2001-01-01 UTC (NSDate, Core Data, iOS)
Mac HFS+
3878753228Seconds since 1904-01-01 (classic Mac OS, HFS+ file times)
Excel serial date
46354.977176Days since 1899-12-30 (Excel and Lotus 1-2-3, 1900 date system)

What is timestamp converter?

A Unix timestamp counts the seconds elapsed since midnight UTC on 1 January 1970. It is how most systems store a moment in time internally, because it is a single number with no time zone or formatting ambiguity — but it is unreadable to humans. This tool converts in both directions, auto-detects whether a value is in seconds, milliseconds, microseconds or nanoseconds, and shows the result in ISO 8601, RFC 1123, your local time zone, and as a relative description like "3 days ago". It also reads and writes the other epochs that turn up in logs and databases: Windows FILETIME and LDAP, .NET ticks, Chrome's WebKit time, Apple Cocoa and Core Data, classic Mac HFS+, and Excel serial dates.

When to use it

  • Reading a timestamp out of a log line or database column to find out when an event actually happened.
  • Working out the exact expiry moment of a token or cache entry whose TTL is stored as an epoch value.
  • Producing a timestamp for a test fixture or API request that expects epoch seconds.
  • Decoding a Windows FILETIME from Active Directory, a .NET DateTime tick count, or a Chrome history or cookie timestamp.
  • Grabbing the current Unix time to paste into a query or a configuration value.

How to use this tool

  1. The current Unix time is shown live at the top of the page — copy it in seconds or milliseconds with one click.
  2. To convert a timestamp, leave the mode on "Timestamp → date" and paste your number in. The unit is auto-detected.
  3. To go the other way, switch to "Date → timestamp" and enter a date; ISO 8601 is parsed most reliably.
  4. For a value from Windows, .NET, Chrome or Apple, pick its format from the list so the right starting date and unit are used. The "Other epoch formats" table also shows the same moment in every format.
  5. Every row of the result has its own copy button, so you can take just the format you need.

Example

Converting a ten-digit epoch value.

Input

1700000000

Output

ISO 8601 (UTC):  2023-11-14T22:13:20.000Z
Unix ms:         1700000000000
Day of week:     Tuesday

Ten digits is seconds and thirteen is milliseconds; the tool detects which you pasted, and you can override it if a value is ambiguous.

ISO 8601 is the format to prefer

When you control the format, write dates as ISO 8601 with an explicit UTC offset — 2026-03-14T09:26:53Z. It sorts correctly as a plain string, it is unambiguous about time zone, and every language’s date library parses it. Formats like 03/14/2026 are ambiguous between American and European conventions and cause real bugs.

A token’s expiry is just an epoch value

A JWT’s exp, iat and nbf claims are ordinary Unix timestamps in seconds. Paste one in above to see the exact date, or decode the whole token — header, payload and all three time claims — at once with the JWT Debugger.

Frequently asked questions

Is my timestamp in seconds or milliseconds?

Count the digits. A present-day timestamp in seconds has ten digits; in milliseconds it has thirteen. This tool auto-detects using that rule, treating anything of magnitude one trillion or more as milliseconds. Mixing the two up by a factor of a thousand is an extremely common bug — a seconds value read as milliseconds lands in January 1970.

Why does the displayed local time differ from what I expected?

The local time row uses your computer's time zone setting, while the ISO and RFC rows are always UTC. If they seem inconsistent, check your system's time zone. A Unix timestamp itself carries no time zone at all — it is always an absolute moment, and the time zone only affects how it is displayed.

What are FILETIME, .NET ticks and WebKit timestamps?

They are the same idea as a Unix timestamp with a different starting date and unit. Windows FILETIME (also used by LDAP and Active Directory) counts 100-nanosecond intervals since 1 January 1601; .NET ticks count the same intervals since 1 January 0001; Chrome's WebKit time counts microseconds since 1601; Apple's Cocoa time counts seconds since 1 January 2001. Their values are large enough to overflow a normal JavaScript number, so the converter does the arithmetic with big integers to stay exact. Pick the format explicitly - they are never auto-detected, because their ranges overlap Unix values.

Why does auto-detect only cover Unix formats?

Because a Windows or .NET value and a Unix nanosecond value can have the same number of digits and mean completely different dates. The converter reads 10 digits as seconds, 13 as milliseconds, 16 as microseconds and 19 as nanoseconds, which is right for any present-day Unix value, and leaves everything else to the format list.

What happens after the year 2038?

Systems that store timestamps in a signed 32-bit integer overflow on 19 January 2038, wrapping to a negative number and appearing to jump back to 1901. This is the "Year 2038 problem". Modern systems use 64-bit values and are unaffected for billions of years. This tool handles any value JavaScript can represent as a date.

Can I convert a date from before 1970?

Yes. Timestamps before the epoch are simply negative — -86400 is 31 December 1969. The tool accepts negative values and converts them correctly, which is occasionally useful when working with historical dates in systems that store epoch values.

Does leap-second handling matter here?

Not for Unix time. The Unix timestamp specification deliberately ignores leap seconds, treating every day as exactly 86,400 seconds. This means Unix time is not a true count of elapsed SI seconds since 1970, but it does keep the arithmetic simple and consistent, which is the trade-off nearly every system has chosen.

Find these tools useful? A coffee helps keep them free and ad-light.

Buy me a coffee