什么是 Unix 时间戳?
Unix 时间戳(Unix Timestamp)是从 1970 年 1 月 1 日(UTC)开始所经过的秒数(或毫秒数),是一种被广泛使用的时间表示方式。计算机系统和编程语言中常用时间戳来存储和处理时间数据。
常见的时间戳格式:
- 秒级(10位):如 1714032000,表示从 1970 年到现在的秒数
- 毫秒级(13位):如 1714032000000,JavaScript 的 Date.now() 使用此格式
本工具支持秒级和毫秒级时间戳互转,并同时显示北京时间(UTC+8)、UTC 时间和纽约时间。
What is a Unix Timestamp?
A Unix timestamp is the number of seconds (or milliseconds) that have elapsed since January 1, 1970 (UTC). It is a widely used time representation in computer systems and programming languages for storing and processing time data.
Common timestamp formats:
- Seconds (10-digit) — e.g., 1714032000, representing seconds since 1970
- Milliseconds (13-digit) — e.g., 1714032000000, used by JavaScript's
Date.now()
This tool supports both seconds and milliseconds, and displays Beijing Time (UTC+8), UTC, and New York time simultaneously.