TR ToolRivet

Developer Tools

Unix Timestamp Converter

Convert Unix timestamps to readable dates and dates back to timestamps.

Inspect API timestamps, log values, and database date fields by converting between Unix seconds, milliseconds, local time, UTC, and ISO strings.

Timestamp Converter

Convert Unix timestamps to readable dates and local dates back to timestamps.

Output

// Timestamp results will appear here.

How to use

  1. 1. Enter a timestamp

    Paste Unix seconds or milliseconds and convert it to readable dates.

  2. 2. Convert a date

    Choose a local date and time to get Unix seconds and milliseconds.

  3. 3. Copy results

    Use local, UTC, ISO, seconds, or milliseconds output as needed.

Example

`0` converts to `1970-01-01T00:00:00.000Z`, the Unix epoch.

FAQ

What is a Unix timestamp?

A Unix timestamp is a number representing time elapsed since January 1, 1970 at 00:00:00 UTC.

What is the difference between seconds and milliseconds?

Unix seconds count whole seconds, while milliseconds count thousandths of a second. Many JavaScript APIs use milliseconds.

Does this use my local timezone?

Local time output and date input use your browser's local timezone. UTC and ISO output are timezone-independent.