Financial CalculatorsDate & Time CalculatorsHealth CalculatorsMath CalculatorsLength ConvertersWeight ConvertersTemperature ConvertersArea ConvertersVolume ConvertersSpeed ConvertersData & File Size ConvertersDigital & Data ToolsText ToolsGeneratorsImage & Video Tools About Practical guides Contact
Processed locally in your browser

Unix Timestamp Converter

Convert a Unix timestamp to a readable date, or a date to a Unix timestamp — plus see the current timestamp updating live.

Current Unix Timestamp

—

Timestamp → Date

Converted Date
—
—
Local Time
—
ISO 8601

Date → Timestamp

Unix Timestamp
—

—
Milliseconds

What Is a Unix Timestamp?

A Unix timestamp (or "epoch time") counts the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, ignoring leap seconds. It's widely used in programming and databases as a compact, unambiguous way to store a point in time.

Worked examples

0 seconds converts to 1970-01-01T00:00:00.000Z. The Z marks UTC.
1765123200 seconds and 1765123200000 milliseconds both convert to 2025-12-07T16:00:00.000Z. Selecting the wrong unit changes the date dramatically.
For the reverse direction, enter 2026-01-01, 00:00, and select UTC. The result is 1767225600 seconds or 1767225600000 milliseconds.

Formula / Calculation Method

Timestamp (seconds) = (Date − 1 January 1970 00:00:00 UTC) ÷ 1 second.

How to Use This Tool

  1. For Timestamp → Date, enter a numeric timestamp and explicitly choose seconds or milliseconds.
  2. For Date → Timestamp, choose a date, optional time (defaults to midnight), and UTC or your device’s local time zone.
  3. Compare the UTC, local, and ISO outputs: each represents the same instant.
  4. Use the live timestamp panel to copy the current time according to your device clock.

Common Use Cases

Inspect epoch fields in API responses
Compare a log timestamp in UTC and local time
Check the date represented by a JWT expiration value

Seconds, milliseconds, and time zones

A timestamp identifies an instant; the unit determines its scale. This tool does not guess units from the number of digits. For current dates, seconds often have 10 digits and milliseconds 13, but that is only a clue, not a rule. Negative timestamps describe dates before 1970.

Date inputs are different: a date and clock time need a time zone before they identify an instant. Choose UTC for logs defined in UTC, or Local for the zone shown by your device. Local times skipped by a clock change are rejected; repeated times choose the first occurrence and display a note.

Precision and limits

Timestamp inputs support whole seconds or whole milliseconds. Date → Timestamp accepts hours and minutes and sets seconds to zero. The browser’s Date model ignores leap seconds and supports up to 100,000,000 days either side of the epoch; out-of-range values are rejected. The live clock depends on your device clock, not a network time service.

Unix timestamps are not cron expressions, and a timestamp alone does not validate a JWT signature or an API’s expected unit. Check the receiving system’s documentation before copying a value into production.

Related Tools

Frequently Asked Questions

Does the timestamp itself contain a time zone?

No. It counts time from the UTC epoch. Formatting that instant in a zone changes the displayed clock time, not the timestamp.

Why does my conversion show a date in 1970?

A seconds value may have been interpreted as milliseconds. Check the Unit selector against the source system’s documentation.

Can I convert dates before 1970?

Yes. Enter a negative timestamp or choose an earlier date. The result uses the browser’s Gregorian calendar model.

Sources & References

See how we test and maintain our tools. Found a problem? Report the inputs and expected result.