PocketPlay
中文

Unix Timestamp Converter

Convert Unix timestamps to dates and back, in local time, UTC or any timezone, with ISO 8601, RFC 2822 and relative formats.

🔒 Runs in your browser — files never leave your deviceFree · No sign-up

Current Unix time

Seconds
0
Milliseconds
0

Timestamp → date

Date → timestamp

Timestamp (s)
Timestamp (ms)

Batch convert

InputSecondsDate in selected timezoneRelative

How to use the timestamp converter

  1. Paste a Unix timestamp — seconds, milliseconds, microseconds or nanoseconds are detected automatically — to read it as a date.
  2. Or pick a date and time, choose which timezone it should be read in, and copy the timestamp in seconds or milliseconds.
  3. Switch the timezone selector to see the same instant on a server clock, and use batch mode for a whole log file column.

FAQ

Seconds or milliseconds?

Unix time is defined in seconds since 1970-01-01T00:00:00Z, but JavaScript, Java and most logs use milliseconds. A 10-digit number is seconds, 13 digits is milliseconds, 16 is microseconds and 19 is nanoseconds — this tool labels what it detected so you can override it if the value is unusual.

Why does the same timestamp show two different dates?

A timestamp is an absolute instant; the calendar date depends on the timezone you display it in. That is why local time, UTC and the zone you pick are shown side by side — useful when a server logs UTC and your users are not.

Is anything sent to a server?

No. All conversions run in your browser with the built-in Intl and Date APIs, so log data you paste stays on your machine.