Skip to content

Epoch to Date Converter

Paste an epoch value and read it as a UTC date, your local time, an RFC 2822 HTTP date and a relative time, with the unit detected from the number of digits.

100% Free • No Signup • Zero Uploads (Runs Locally)

100% Local Browser Execution • Zero Server Uploads • Air-Gap Safe

100% Local Tool Execution • Tool Inputs Never Leave Your Browser BigInt epoch converter

Unix seconds now

…

Milliseconds now

…

UTC now

…

Detected: Unix seconds (10 digits)

Date to Unix timestamp

1767225600 s · 1767225600000 ms

CtrlEnter to run

Wrong result, broken layout or an idea? Tell us about this tool.

Epoch to Date Converter Unix Epoch and FILETIME Timeline & Security Architecture Banner

This Unix timestamp converter turns epoch values into readable dates and back: 10-digit seconds, 13-digit milliseconds, microseconds, nanoseconds, ISO 8601 strings, and the Windows FILETIME and LDAP timestamps found in Active Directory and event logs. Paste a value and the unit is detected from its length; every row shows UTC, your local time zone, the ISO week number and day of year. Log timestamps can identify systems and incidents, so conversion happens in your browser.

What does epoch time mean?

Epoch time is a count of seconds since a fixed starting point. For Unix and almost every modern system, the epoch is 1970-01-01 00:00:00 UTC.

Other epochs exist: Windows FILETIME counts from 1601, macOS Cocoa from 2001, GPS from 1980 and Excel serial dates from 1900. This converter handles Unix and FILETIME/LDAP, the two that appear most in logs and directory exports.

How do you convert epoch to date on the command line?

On Linux run date -u -d @1767225600; on macOS run date -u -r 1767225600; in PowerShell use [DateTimeOffset]::FromUnixTimeSeconds(1767225600).

Each prints 2026-01-01 00:00:00 UTC. Drop the -u to see local time. In SQL, PostgreSQL uses to_timestamp(1767225600) and MySQL uses FROM_UNIXTIME(1767225600), which returns the session time zone.

Also searched as: epoch converter, epoch time to date, convert epoch to date.

What is a Unix timestamp?

A Unix timestamp is the number of seconds since 1970-01-01 00:00:00 UTC (the Unix epoch), ignoring leap seconds. It is the same everywhere, which makes it the standard for logs, databases and APIs.

Because the count is in UTC, 1767225600 is 2026-01-01 00:00:00 UTC no matter where the server runs; only the display changes with the time zone. Signed 32-bit counters overflow at 2147483647, which is 2038-01-19 03:14:07 UTC (the Year 2038 problem). Modern systems store 64-bit values and are unaffected.

How it works: Unix Timestamp Converter

Epoch to Date Converter Unix Epoch and FILETIME Timeline & Security Architecture Diagram. Timestamp conversion map: an input value is classified by digit count into Unix seconds, milliseconds, microseconds, nanoseconds or Windows FILETIME, normalised to milliseconds since 1970 with BigInt arithmetic, and rendered as ISO 8601 UTC, local time, RFC 2822, ISO week number and day of year.
Timestamp conversion map: an input value is classified by digit count into Unix seconds, milliseconds, microseconds, nanoseconds or Windows FILETIME, normalised to milliseconds since 1970 with BigInt arithmetic, and rendered as ISO 8601 UTC, local time, RFC 2822, ISO week number and day of year.

How do you convert a Unix timestamp to a date?

Multiply seconds by 1,000 and pass the result to a date library, or use date -d @1767225600 on Linux; this converter does it as you type and shows UTC and local time side by side.

The common mistake is mixing units. JavaScript Date.now(), Java System.currentTimeMillis() and most JSON APIs use milliseconds (13 digits), while Unix tools, Python time.time() and PostgreSQL extract(epoch …) use seconds (10 digits). Read a millisecond value as seconds and you land in the year 57,000; read seconds as milliseconds and you land in January 1970. The unit buttons let you override auto-detection when a value is ambiguous.

  • 10 digits: seconds (Unix, Python, Go Unix()).
  • 13 digits: milliseconds (JavaScript, Java, Elasticsearch).
  • 16 digits: microseconds (PostgreSQL internals, Chrome history).
  • 19 digits: nanoseconds (Go UnixNano(), InfluxDB, Kubernetes).
  • 18 digits starting with 13: Windows FILETIME or LDAP (100 ns since 1601).

How do you convert a Windows FILETIME or LDAP timestamp?

Divide by 10,000,000 to get seconds since 1601-01-01, then subtract 11,644,473,600 to reach the Unix epoch. AD attributes such as lastLogonTimestamp, pwdLastSet and accountExpires use this format.

FILETIME counts 100-nanosecond intervals since the start of 1601 UTC. 133801632000000000 therefore becomes 2025-01-01 00:00:00 UTC. The converter uses BigInt arithmetic so 18-digit values keep full precision. An accountExpires value of 9223372036854775807 or 0 means "never" and is not a real date.

How many weeks into the year are we?

Use the ISO 8601 week number: weeks start on Monday and week 1 is the week containing the year's first Thursday, so most years have 52 weeks and some have 53.

Every conversion shows the ISO week (for example 2026-W47) and the day of the year. Note that the ISO week-year can differ from the calendar year near New Year: 2027-01-01 falls in week 53 of 2026. Spreadsheet WEEKNUM() uses a different, US-style rule unless you pass the ISO mode (ISOWEEKNUM).

Epoch and timestamp reference values

Notable timestamps for checking conversions
ValueMeaning (UTC)
01970-01-01 00:00:00, the Unix epoch
10000000002001-09-09 01:46:40
17672256002026-01-01 00:00:00
21474836472038-01-19 03:14:07, signed 32-bit limit
17672256000002026-01-01 00:00:00 in milliseconds
1164447360000000001970-01-01 as Windows FILETIME
1338016320000000002025-01-01 as FILETIME / LDAP

Notable timestamps for checking conversions

Command-line examples

Linux: epoch to date and back

date -u -d @1767225600
date -u -d "2026-01-01" +%s

macOS (BSD date)

date -u -r 1767225600

PowerShell: LDAP / FILETIME to date

[datetime]::FromFileTimeUtc(133801632000000000)

Frequently asked questions

Paste the number here, or run date -u -d @<epoch> on Linux. Multiply by 1,000 first if your language expects milliseconds.

Related Engineering Guides