NyankoTools

Unix Timestamp Converter

Converts a Unix timestamp (epoch seconds or milliseconds) to a date/time and back, in real time. The unit is auto-detected from the number of digits, but you can also switch it manually. Everything happens in your browser, and nothing you type is ever sent to a server. Need to check the length of a formatted log line? Check out theCharacter Counteras well.

Current Unix time

Timestamp → Date/time

Local time
UTC
ISO 8601

Date/time → Timestamp

Seconds
Milliseconds

Notes

  • With "Auto-detect", values of 10 digits or fewer are treated as seconds and 11 digits or more as milliseconds. Microsecond and nanosecond timestamps are not supported.
  • The "Date/time → Timestamp" field is interpreted in your device's local timezone.
  • Dates before 1970 result in a negative timestamp.

Glossary

Unix timestamp (Unix time / epoch seconds)

A way of representing a point in time as the number of seconds elapsed since 00:00:00 UTC on January 1, 1970. Because it does not depend on a timezone, it is commonly used to exchange dates and times between systems.

Millisecond timestamp

A Unix timestamp multiplied by 1000 and expressed in milliseconds. Commonly seen in JavaScript's Date.now() and in log timestamps, typically around 13 digits long.

UTC (Coordinated Universal Time)

The global time standard. Local timezones are expressed as an offset from UTC, such as UTC+9 for Japan Standard Time.

Share this page