Timestamp Converter

Online Unix Timestamp Converter. Supports second/millisecond precision, 15 global timezones, time offset calculator, time difference calculator, batch conversion, and world time table. All processing in your browser — data never leaves your device.

Seconds 0
Milliseconds 0
--
💡 Enter 10-digit seconds or 13-digit milliseconds

⏱ Time Offset Calculator

⏱ Time Difference Calculator

📊 Batch Timestamp Conversion ▼
🌍 World Time Table (Live) ▼
💻 Code Examples ▼
ℹ️ Instructions ▼

Unix Timestamp is the number of seconds elapsed since January 1, 1970 00:00:00 UTC.

Features

  • Live Timestamp — Real-time display of current second/millisecond timestamps
  • Bidirectional Conversion — Timestamp ↔ Date conversion
  • Multi-timezone — 15 major timezones with automatic DST handling
  • Time Calculator — Offset calculation + time difference calculation
  • Batch Conversion — Convert multiple timestamps simultaneously

Use Cases

  • Development & Debugging: Convert API timestamps to readable dates
  • Log Analysis: Convert log timestamps to readable format
  • Cross-timezone Collaboration: Convert time between different timezones

About This Timestamp Converter

A Unix timestamp counts the seconds since 1970-01-01 00:00:00 UTC. 10 digits means seconds, 13 digits means milliseconds. It is timezone-independent: the same number is the same instant everywhere, and only its display changes with the timezone you pick.

How to use

  • 1. Enter a timestamp (e.g. 1794960000) or a date string.
  • 2. Pick the target timezone and unit (seconds or milliseconds).
  • 3. Copy any row: local time, UTC, ISO 8601 or relative time.

Example

1794960000 → 2026-11-18 08:00:00 (UTC+8) · 2026-11-18T00:00:00.000Z

💡 Privacy: every conversion runs locally with JavaScript's Date API. No request leaves the page, and the tool keeps working offline.

FAQ

What is a Unix timestamp?

The number of seconds elapsed since 1970-01-01 00:00:00 UTC, ignoring leap seconds. It is timezone-independent: the same number refers to the same instant worldwide.

Is my timestamp in seconds or milliseconds?

Count the digits: 10 digits is seconds (valid until year 2286), 13 digits is milliseconds. This tool detects both automatically; use the unit selector when a value is ambiguous.

Why is the converted time 8 hours off?

The raw timestamp is a UTC instant, so the date is shown after applying your target zone. Beijing is UTC+8. Pick the matching timezone instead of treating it as an error.

How do I convert a timestamp in Excel?

Use =(A2/86400)+DATE(1970,1,1) and format the cell as date/time. For milliseconds divide by 86400000. Excel for Mac on the 1904 date system needs 1462 extra days.

How do I get an ISO 8601 string?

In JavaScript, new Date(ts * 1000).toISOString() returns 2026-11-18T00:00:00.000Z. The converter also shows an ISO 8601 row you can copy directly.

How do I create a Discord timestamp?

Wrap the Unix seconds in Discord's syntax: <t:1794960000:F> shows the full date-time and <t:1794960000:R> shows a relative time like "in 3 days". Use seconds, not milliseconds.

What is the 2038 problem?

32-bit signed time overflows at 2,147,483,647 seconds, which is 2038-01-19 03:14:07 UTC, and then wraps back to 1901. Store 64-bit seconds or milliseconds to avoid it.

Does a timestamp change with the timezone?

No. A timestamp is an absolute instant; only its formatted display changes. Store timestamps to avoid DST and timezone ambiguity, and keep the display zone as separate data.

Is my data uploaded to a server?

No. Conversion happens entirely in your browser through the Date API, with no network request. The page works offline once loaded.

Last updated 2026-11-18 · Verified in Chrome · Runs in your browser, no uploads · Editorial policy

Related tools

Related tutorials

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏