🕐 Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and back. Supports seconds/ms, timezones, bulk conversion, and a live "Now" clock.

▸ Bulk Convert (one timestamp per line)

How to Use

1

Enter a timestamp or date

Type a Unix timestamp (seconds or milliseconds) in the first field, or pick a date/time. The tool auto-detects seconds vs milliseconds.

2

Select your timezone

Choose UTC, your browser's local timezone, or any named timezone from the dropdown. All output formats update instantly.

3

Copy any format

Click Copy next to any output row — Unix seconds, milliseconds, ISO 8601, localized date, or relative time.

Frequently Asked Questions

What is a Unix timestamp? +
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC. It is the universal standard for representing time in software systems because it has no timezone ambiguity and is easy to do arithmetic on.
What is the difference between seconds and milliseconds? +
Standard Unix timestamps count seconds since epoch (10 digits for modern dates, e.g. 1714694400). JavaScript's Date.now() and many APIs return milliseconds (13 digits, e.g. 1714694400000). This tool auto-detects which you've entered based on the number of digits.
How do I convert a date to a Unix timestamp in JavaScript? +
Use Math.floor(new Date("2024-05-01").getTime() / 1000) for seconds, or Date.now() / 1000 for the current time. The tool does this conversion instantly for any date you enter.
What is the Unix timestamp for the year 2038 problem? +
The Year 2038 problem (Y2K38) affects 32-bit signed integers, which overflow at Unix timestamp 2147483647 (January 19, 2038, 03:14:07 UTC). Modern 64-bit systems are not affected — they can represent dates billions of years in the future.
Can I convert multiple timestamps at once? +
Yes. Use the Bulk Convert section — enter one Unix timestamp per line and click Convert All to get all dates formatted at once.


完整指南:Unix时间戳转换器

什么是Unix时间戳?

Unix时间戳是自1970年1月1日00:00:00 UTC以来经过的秒数。是计算机系统中日期时间的通用标准:数据库、服务器日志、API都使用它。与时区无关,非常适合全球分布式系统。

如何使用

  1. 输入Unix时间戳转换为可读日期,或输入日期获取时间戳。
  2. 选择时区查看本地表示。
  3. 结果以多种格式显示(ISO 8601、本地、UTC)。

专业技巧

🧰 50+ Tools