ToolKitToolKit工具箱

⏱ Timestamp Converter

Convert Unix timestamps to/from dates, ms support

Current timestamp0sec0ms · click to copy

Timestamp → Date

Date → Timestamp

🔒 Everything runs locally in your browser. Your data is never uploaded to any server.

About this tool

This timestamp tool converts between Unix timestamps and human-readable date-time. A Unix timestamp is the number of seconds (sometimes milliseconds) since 1970-01-01 00:00:00 UTC, and programs use it almost everywhere to record and compare time.

Paste a cryptic number and instantly get the matching year-month-day and time; or pick a date to get its timestamp. The tool computes locally and can show results in your local timezone or in UTC.

How to use

  1. Paste a timestamp; the tool auto-detects seconds vs milliseconds and converts it to a date.
  2. Or go the other way: pick a date-time to get its timestamp.
  3. Toggle the display between your local timezone and UTC.
  4. Click Copy to grab the converted result.

When to use it

  • Debug time fields in logs and database records.
  • Turn a timestamp returned by an API back into readable time.
  • Work out how many seconds lie between two moments.
  • Reconcile second-level vs millisecond-level timestamps across systems.

FAQ

How are seconds and milliseconds distinguished?

A 10-digit number is usually seconds and a 13-digit one is milliseconds. The tool decides by length, and you can also set it manually.

Which timezone is shown?

It defaults to your browser's local timezone and can switch to UTC. The timestamp itself is a timezone-independent absolute moment.

Why does my timestamp show 1970?

Usually milliseconds were read as seconds, or the value is too small. Check the digit count and try again.