Unix Timestamp Converter

Convert between a Unix timestamp and a readable date.

ABOUT THIS TOOL

What this tool does

Logs and APIs often store time as a Unix timestamp — a raw count of seconds. This tool turns that number into a readable date, and converts dates back into timestamps, so you can actually understand what a log entry means.

HOW TO USE

How to use this tool

  1. 1

    Choose the direction

    Timestamp to date, or date to timestamp.

  2. 2

    Enter the value

    Ten digits is seconds, thirteen digits is milliseconds.

  3. 3

    Read all three forms

    The same moment is shown as local time, UTC and ISO 8601 so you can match whichever your system expects.

FEATURES

What you can do with it

  • Three representations at once

    Local time for humans, UTC for logs, and ISO 8601 for code and databases.

  • Seconds or milliseconds

    A 13-digit value is read as milliseconds, which is what JavaScript uses.

USE CASES

When to use it

  • You found a timestamp in a log or database and want to know the real date.
  • You need to produce a timestamp for an API request or a config file.
  • You are debugging an event that happened at a specific time.
  • You want to compare timestamps from different systems.
UNDERSTAND IT

How to understand this tool

Unix time counts seconds since 1 January 1970 UTC, with no time zone attached: it is the same number everywhere. The readable date shown here is converted to your local zone, so two people in different countries see different clock times for the same timestamp. That difference is the usual cause of "the date is one day off" bugs.

What it will not do

  • It does not detect whether a value is seconds or milliseconds for you.
  • It cannot convert dates before 1970 into a positive timestamp.
FAQ

Questions people ask

What is a Unix timestamp?

The number of seconds since 1 January 1970 UTC. The same instant everywhere, though local display differs.

Why is my date off by hours?

Time zones shift the displayed local time even though the underlying instant is the same.

GOOD TO KNOW

One thing worth knowing

Time zones and daylight saving can shift results by an hour — double-check around DST boundaries.