Unix epoch · Date & time

Unix Timestamp Converter.

Convert epoch timestamps into readable dates, or turn a date and time into Unix seconds and milliseconds. Compare UTC with your local time in one place.

Live Unix time

—

Current Unix timestamp in seconds · updates every second

Current UTC time
—
Current local time
—
Your time zone
—
Timestamp → date

Convert Unix timestamp

Enter an epoch value and choose whether it represents seconds or milliseconds.

Enter a timestamp to see its date and time.

Date → timestamp

Convert date to Unix time

Choose a date and time on your device, then convert it to Unix seconds and milliseconds.

Choose a date and time to get its Unix timestamp.

What is a Unix timestamp?

A Unix timestamp, also called epoch time or Unix time, represents a point in time as a count from the Unix epoch: 00:00:00 UTC on 1 January 1970. The conventional Unix timestamp is measured in seconds. Many programming languages, databases and APIs also use milliseconds, which are one thousandth of a second.

Seconds
1,735,689,600

A whole number of seconds since the epoch.

Milliseconds
1,735,689,600,000

The same instant multiplied by 1,000.

How to convert a Unix timestamp

  • For seconds, multiply the timestamp by 1,000 to obtain JavaScript date milliseconds.
  • For milliseconds, use the value directly as JavaScript date milliseconds.
  • To convert a date to Unix seconds, divide its millisecond timestamp by 1,000.
  • UTC and local time can look different, but they describe the same instant.

Seconds or milliseconds: which should I use?

Check the format expected by the system or API you are working with. Unix timestamps in seconds commonly contain about 10 digits for modern dates, while millisecond timestamps commonly contain about 13 digits. Do not rely on digit count alone for unusual historical or future values; select the correct unit explicitly or use the auto-detect helper as a guide.

Note: Date conversion is performed in your browser. The date-to-timestamp input is interpreted in your device's local time zone; the resulting Unix timestamp represents an absolute instant.

Frequently Asked Questions

What is the Unix epoch?

The Unix epoch is 00:00:00 UTC on 1 January 1970. Unix time counts seconds from this starting point.

How do I tell whether a timestamp is in seconds or milliseconds?

Modern timestamps are often around 10 digits in seconds and 13 digits in milliseconds. Use the explicit unit selector whenever you know the source format.

Why are UTC and local date-time different?

UTC is the common time reference. Local time applies your device's time-zone offset and daylight-saving rules, so the displayed clock time may differ while representing the same moment.

Can Unix timestamps be negative?

Yes. A negative timestamp represents a date before 1 January 1970 UTC.

Does this converter store my timestamp?

No timestamp history is stored by this converter. The conversion is calculated in your browser while the page is open.