
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
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
| Value | Meaning (UTC) |
|---|---|
| 0 | 1970-01-01 00:00:00, the Unix epoch |
| 1000000000 | 2001-09-09 01:46:40 |
| 1767225600 | 2026-01-01 00:00:00 |
| 2147483647 | 2038-01-19 03:14:07, signed 32-bit limit |
| 1767225600000 | 2026-01-01 00:00:00 in milliseconds |
| 116444736000000000 | 1970-01-01 as Windows FILETIME |
| 133801632000000000 | 2025-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" +%smacOS (BSD date)
date -u -r 1767225600PowerShell: 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 tools
- Cron VisualizerTranslate five-field cron expressions to plain English and preview the next runs in UTC and local time.
- Log DeobfuscatorDecode Base64, PowerShell, hex, URL and gzip with auto-detect, plus text-to-binary, dec-to-hex and an ASCII table.
- PCAP & HAR AnalyzerOpen PCAP, PCAPNG, HAR and EVTX files in the browser: packet table, decoder, tcpdump output, HAR sanitizer and triage.