Home › Converters › Unix Timestamp Converter

Unix Timestamp Converter

Unix time counts the seconds (or milliseconds) that have passed since 1 January 1970, and it turns up in logs, databases and APIs everywhere. This converter decodes a timestamp into a readable date in UTC and your local time, converts a date back into a timestamp, and shows the current Unix time ticking live.

Current Unix time: — (—)

How to use

  1. To decode a timestamp, paste it into the first box and press “Convert to date”. Values with 13 digits are treated as milliseconds, 10 digits as seconds.
  2. To encode a date, pick it in the date field (interpreted in your local time zone) and press “Convert to timestamp”.
  3. Watch the live clock at the top if you just need the current Unix time.

Frequently asked questions

What is the Unix epoch?

The epoch is 00:00:00 UTC on 1 January 1970. Unix time is simply the count of seconds since that moment, not counting leap seconds.

How do I know if a timestamp is in seconds or milliseconds?

Count the digits: current timestamps in seconds have 10 digits, while milliseconds have 13. This converter detects which one you pasted automatically.

What is the year 2038 problem?

Systems that store Unix time in a signed 32-bit integer overflow on 19 January 2038. Modern 64-bit systems are unaffected, but the date is a useful reminder that the format has limits.