Timestamp Converter

What Is a Timestamp Converter?

A timestamp converter translates between Unix timestamps (seconds since January 1, 1970) and human-readable dates. Unix timestamps are the universal language of time in programming — every database, API, and logging system uses them because they're timezone-independent, sortable, and unambiguous.

Common Timestamp Formats

Unix (seconds) — 1700000000. The standard. Milliseconds — 1700000000000. Used by JavaScript and Java. ISO 8601 — 2023-11-14T10:13:20Z. The human-readable standard for APIs. RFC 2822 — Tue, 14 Nov 2023 10:13:20 +0000. Used in email headers and HTTP.

How to Use This Timestamp Converter

  1. Enter a Unix timestamp — Paste a Unix timestamp (seconds since January 1, 1970) to convert it to a human-readable date.
  2. Or enter a date — Select a date and time from the picker to convert it to a Unix timestamp.
  3. Read the time zones — The same instant is listed in UTC and 13 other zones (New York to Auckland), plus ISO 8601, the UTC string and your local time; the date picker works in your local time.
  4. Copy the result — Grab the converted timestamp or formatted date string for your application.

Worked example: the same instant in three time zones

The Unix field is converted with new Date(ts * 1000). The "Date & Time (Local)" field is a datetime-local input, which has no offset: JavaScript reads it as local time, so the tool also fills it in local time. On October 12, 2026 we loaded the page in Chromium in three time zones, entered 1700000000, then re-entered the date field's own value:

Browser time zoneDate field showsTimestamp after re-entering the field
UTC2023-11-14T22:13:201700000000
America/New_York (UTC−5 in November)2023-11-14T17:13:201700000000
Asia/Kolkata (UTC+5:30)2023-11-15T03:43:201700000000

Every zone returned the original timestamp. Before v181 the field was filled with the UTC time but read back as local, so the same test moved the timestamp by +5 h in New York and −5.5 h in India; a Node test of the new code also round-trips across a DST change (2024-03-10 in New York) and Lord Howe Island's half-hour offset.

Edge values worth knowing

InputResultNote
21474836472038-01-19T03:14:07ZLast second a signed 32-bit time_t can hold
-21474836481901-12-13T20:45:52ZFirst second of the signed 32-bit range
8640000000000 (ms)+275760-09-13T00:00:00ZLargest JavaScript Date; one millisecond more is an invalid date
1700000000 entered as milliseconds1970-01-20T16:13:20ZA seconds value read as ms lands in January 1970

Related tools

Frequently Asked Questions

What is a Unix timestamp?
Seconds since January 1, 1970 00:00:00 UTC (the epoch). A universal, timezone-independent time representation. Example: 1700000000 = November 14, 2023.
How do I convert a timestamp?
Use this tool, or in code: JavaScript new Date(ts * 1000), Python datetime.fromtimestamp(ts). This tool shows multiple formats instantly.
What is the Year 2038 problem?
32-bit signed integers overflow on January 19, 2038. Most modern systems use 64-bit integers, extending the range to billions of years.
What is the difference between Unix time and ISO 8601?+
Unix timestamps are numeric (1713192000) — compact and timezone-independent. ISO 8601 is string-formatted (2024-04-15T14:00:00Z) — human-readable with explicit timezone info. Unix timestamps are better for storage and computation; ISO 8601 is better for APIs, logs, and display.
How do I get the current Unix timestamp?+
In JavaScript: Math.floor(Date.now() / 1000). In Python: import time; int(time.time()). In a terminal: date +%s. In SQL: UNIX_TIMESTAMP() (MySQL) or EXTRACT(EPOCH FROM NOW()) (PostgreSQL).
How do I convert a timestamp to a date?+
Use this tool — paste a Unix timestamp and instantly see the corresponding date and time in multiple formats. In JavaScript, use new Date(timestamp * 1000) (JS uses milliseconds). In Python, use datetime.fromtimestamp(timestamp).
How do I handle timestamps with milliseconds versus seconds?+
Unix timestamps in seconds are 10 digits for dates from 2001 to 2286; the same instant in milliseconds is 13 digits. JavaScript's Date expects milliseconds, while date +%s and Python's time.time return seconds. In this tool, pick Seconds or Milliseconds with the buttons; it does not detect the unit, so a seconds value read as milliseconds shows a date in January 1970.
Why is my timestamp showing a different time than I expect?+
Unix timestamps count seconds since 1970-01-01 UTC, so the displayed time depends on the zone it is rendered in. The tool lists UTC, your local time and 13 other zones, and the Date & Time (Local) field uses your browser's time zone. If a time looks wrong, check which zone your system is set to and whether the source meant seconds or milliseconds.

📖 Learn More

Related Article How to Convert Unix Timestamps →

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service