Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds, multiple timezones, ISO 8601 format.

How to use

  1. Choose direction: timestamp to date or date to timestamp.
  2. Enter a Unix timestamp or select a date/time.
  3. Select your timezone.
  4. See the converted result in multiple formats.

A Unix timestamp is the number of seconds (or milliseconds) elapsed since January 1, 1970, 00:00:00 UTC — known as the Unix epoch. It is the most widely used time representation in programming because it is timezone-independent, sortable, and easy to arithmetic. Every major programming language and database supports Unix timestamps natively.

When debugging APIs, database records, or log files, timestamps often appear as large integers like 1735689600 (seconds) or 1735689600000 (milliseconds). This converter lets you instantly translate these to human-readable dates in any timezone, or convert a datetime back to a timestamp for use in queries or code.

Frequently Asked Questions

What is the difference between seconds and milliseconds timestamps?

Unix timestamps in seconds are 10 digits (e.g., 1735689600). Millisecond timestamps are 13 digits (e.g., 1735689600000). JavaScript's Date.now() returns milliseconds; Python's time.time() returns seconds as a float. When in doubt, check the number of digits.

What is the Unix epoch?

January 1, 1970, 00:00:00 UTC. This was chosen arbitrarily when Unix was being developed. Timestamps before this date are negative. The maximum 32-bit Unix timestamp is 2,147,483,647 (January 19, 2038) — the 'Year 2038 problem' for legacy systems.

How do I get the current Unix timestamp in code?

JavaScript: Math.floor(Date.now() / 1000) for seconds, or Date.now() for ms. Python: import time; int(time.time()). Linux terminal: date +%s. SQL: UNIX_TIMESTAMP() in MySQL, EXTRACT(EPOCH FROM NOW()) in PostgreSQL.

Why does the same timestamp show different times in different timezones?

Unix timestamps are always UTC-based. The timestamp itself is the same — only the display changes based on timezone offset. 1735689600 is always the same moment in time; it just reads 19:00 in New York (UTC-5) and 00:00 UTC.