Time tools

Unix Timestamp Converter

Convert epoch seconds or milliseconds to clear date and time values, or turn a date in any common time zone back into Unix time.

Live clock

Current Unix timestamp

Updates every second. It never replaces text you are editing.

Seconds
Milliseconds
Whole numbers only. Spaces around a pasted value are removed.
Examples

All conversions run locally in your browser. Your dates and timestamps are never uploaded to a server.

How to use

  1. Choose Timestamp → Date or Date → Timestamp.
  2. Enter a whole-number timestamp, or choose a date, time and IANA time zone.
  3. Select Convert, then copy one value or all results. All calculations stay in your browser.

What is a Unix timestamp?

A Unix timestamp is a number that represents an exact instant as the amount of time since 00:00:00 UTC on January 1, 1970. It is widely used in APIs, databases, log files and scheduled jobs because the number is easy for computers to compare.

How to convert a Unix timestamp

Paste a whole-number timestamp and choose Auto Detect, Seconds or Milliseconds. The converter validates the range, then shows your browser’s local time, UTC, ISO 8601, RFC 2822, relative time and the active time-zone offset. To go the other way, choose a date, time and IANA zone before converting.

Seconds vs. milliseconds

Traditional Unix time counts seconds, so 1704067200 is January 1, 2024. JavaScript’s Date uses milliseconds, so the same instant is 1704067200000. Current second values are usually in the billions; current millisecond values are in the trillions.

What happened on January 1, 1970?

January 1, 1970 at 00:00:00 UTC is the Unix epoch, the reference point where Unix time is zero. Every positive timestamp is after that instant, and every negative timestamp is before it.

Does a Unix timestamp include a time zone?

No. A timestamp identifies an instant on the UTC timeline and has no stored time-zone label. Displaying it in New York, London or Shanghai changes the clock text, not the instant or the timestamp value.

How negative timestamps work

Negative values count backwards from the epoch. For example, -1 is one second before the epoch: 1969-12-31 23:59:59 UTC. The converter accepts negative seconds and milliseconds when they are within the JavaScript date range.

Common Unix timestamp examples

TimestampUTC date
01970-01-01 00:00:00 UTC
10000000002001-09-09 01:46:40 UTC
17040672002024-01-01 00:00:00 UTC
17040672000002024-01-01 00:00:00 UTC

Frequently asked questions

What is the current Unix timestamp?

The live clock at the top of this page shows the current Unix timestamp in seconds and milliseconds and updates every second.

Is Unix time measured in seconds or milliseconds?

The original Unix time convention counts seconds since 1970-01-01 00:00:00 UTC. Many JavaScript APIs use milliseconds, so this tool supports both.

Does Unix time use UTC?

Yes. Unix timestamps represent an instant relative to UTC and do not contain a time-zone name. The same value can be displayed in local time or any IANA time zone.

How can I tell if a timestamp is seconds or milliseconds?

Common current seconds values are around 1.7 billion, while current milliseconds values are around 1.7 trillion. Auto Detect uses a numeric range rule; select Seconds or Milliseconds when you know the source.

Can Unix timestamps represent dates before 1970?

Yes. Negative values represent instants before the Unix epoch. For example, -1 second is 1969-12-31 23:59:59 UTC.

Is my data uploaded to a server?

No. Dates, times and timestamps are calculated locally in your browser and are never uploaded to a server.

You may also like