1. Home
  2. Developer tools
  3. Timestamp Converter

Timestamp Converter

Turn a Unix timestamp into a date in UTC, local time and ISO 8601, or get the timestamp of any date.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Timestamp Converter

  1. Paste a timestamp or pick a date.
  2. See every format at once.
  3. Copy the one you need.

Features

  • Detects seconds, milliseconds and microseconds
  • UTC, local, ISO 8601, RFC 2822, relative
  • Live current time

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Timestamp Converter is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Whether a number is seconds, milliseconds or microseconds is worked out from its size; check the unit if a timestamp is unusually small or large.

Guide

Converting Unix timestamps without seconds-versus-milliseconds mistakes

A Unix timestamp counts the seconds since 1 January 1970 at 00:00 UTC, the “epoch”. Logs, APIs, databases, JWTs and file systems use it because it’s a single number with no time zone, easy to store and compare. People can’t read it, though. This converter turns timestamps into readable dates, and dates back into timestamps.

Converting a timestamp

  1. Paste the number. Click Use now to start from the current time.
  2. The unit is detected from its length and shown as Detected: seconds (or milliseconds, microseconds, nanoseconds).
  3. Read the result in several forms:
    • Local: full date and time in your time zone.
    • UTC: the same moment in Coordinated Universal Time.
    • ISO 8601: 2026-10-07T00:00:00.000Z, the format to use in APIs and logs.
    • Relative: such as “in 3 days” or “2 hours ago”.
    • Seconds and Milliseconds: the same moment in both units.

You can also paste date text, such as 2026-10-07 14:30 or an ISO string, and see all the formats.

Converting a date to a timestamp

Use Date and time (your time zone) to pick a moment, then copy its seconds or milliseconds. Remember the date is interpreted in your time zone; for a UTC time, enter an ISO string ending in Z in the first box instead.

Examples

Timestamp Unit UTC
0 seconds 1970-01-01 00:00:00
1700000000 seconds 2023-11-14 22:13:20
1791331200 seconds 2026-10-07 00:00:00
1791331200000 milliseconds 2026-10-07 00:00:00
2147483647 seconds 2038-01-19 03:14:07

How the unit is detected

Digits (for current dates) Unit Typical source
10 seconds Unix tools, PHP, Python time.time(), JWT claims
13 milliseconds JavaScript Date.now(), Java, many JSON APIs
16 microseconds PostgreSQL internals, some tracing tools
19 nanoseconds Go, InfluxDB, Prometheus-style metrics

Common mistakes

  • Seconds vs milliseconds. A date in 1970 means milliseconds were read as seconds; a date tens of thousands of years ahead means the opposite.
  • Time zones. A timestamp has no time zone; only the display does. 14:00 UTC is 16:00 in Berlin in summer. When comparing logs from different servers, compare UTC.
  • Daylight saving time. Local times can repeat or be skipped when clocks change, but timestamps never do. Store timestamps or UTC, and convert to local time only for display.
  • Leap seconds. Unix time ignores them, so it differs slightly from true elapsed atomic time. For everyday software this doesn’t matter.
  • The year 2038 problem. Signed 32-bit seconds overflow at 2147483647, on 19 January 2038. Check old databases, file formats and embedded devices.

Where you’ll meet timestamps

  • JWTs: exp, iat and nbf are timestamps in seconds. The JWT Decoder shows them as dates.
  • Logs and monitoring: often milliseconds or nanoseconds.
  • Databases: created_at columns stored as integers.
  • UUID v7: its first 48 bits are a millisecond timestamp.

Privacy

Conversion happens in your browser; nothing you paste is sent anywhere.

Who converts timestamps

  • Developers read timestamps in logs, databases and API responses.
  • Support engineers match a customer’s report with log entries.
  • Data analysts convert epoch columns in exports.
  • Security analysts build incident timelines from logs in different formats.

A complete example: matching a customer report with logs

A customer reports an error at 14:05 their time in Berlin, in summer:

  1. Berlin in summer is UTC+2, so the error was at 12:05 UTC.
  2. Convert log timestamps around that time; for example 1791374700 is 2026-10-07 12:05 UTC.
  3. Search the logs for the window between 12:00 and 12:10 UTC on the right day, converting candidate entries to confirm.

Tips

  • Store and compare times in UTC; convert to local time only for display.
  • Check whether a log uses seconds or milliseconds before searching.

Checked against the current version of the Timestamp Converter on .

Frequently asked questions

How do I know if a timestamp is in seconds or milliseconds?

Count the digits. Current dates are 10 digits in seconds (such as 1791331200) and 13 digits in milliseconds (1791331200000). The converter detects this automatically and shows which unit it assumed.

Why does my timestamp show a date in 1970?

A millisecond value was probably read as seconds somewhere, or the value is zero or missing. In code, divide or multiply by 1,000 so both sides use the same unit.

Do timestamps have a time zone?

No. A Unix timestamp is the same moment everywhere; only how it's displayed changes. The converter shows it both in UTC and in your local time zone, so compare logs from different servers in UTC.

What is the year 2038 problem?

Systems that store seconds in a signed 32-bit number overflow at 2147483647, which is 19 January 2038 at 03:14:07 UTC. Modern systems use 64-bit values; old databases, file formats and embedded devices may still need fixing.

What is a Unix timestamp?

The number of seconds since 1 January 1970, 00:00:00 UTC.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.