PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 日期与时间

Unix 时间戳转换.

在 Unix 时间戳和日期之间相互转换,自动识别秒、毫秒、微秒和纳秒,并实时显示当前时间戳。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

Current Unix time…

Timestamp → date

UTCThursday, January 1, 2026 at 12:00:00 AM UTC
Your time (Africa/Algiers)Thursday, January 1, 2026 at 1:00:00 AM GMT+1
ISO 86012026-01-01T00:00:00.000Z
RFC 2822 / HTTP dateThu, 01 Jan 2026 00:00:00 GMT
Relative
Seconds1767225600
Milliseconds1767225600000
Day of year1

Date → timestamp

Unix timestamp (seconds)1767225600
Milliseconds1767225600000
ISO 8601 (UTC)2026-01-01T00:00:00.000Z

Unix time counts seconds since 1 January 1970 00:00:00 UTC, ignoring leap seconds. 10-digit values are seconds, 13-digit values milliseconds (JavaScript, Java), 16 microseconds and 19 nanoseconds (Go, databases). 32-bit systems overflow on 19 January 2038 at 03:14:07 UTC (2147483647). Click a row to copy it.

使用Unix 时间戳转换的步骤

输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

Dates between the years −271,821 and 275,760 (the JavaScript limit). Leap seconds are ignored, as in Unix time.

Epoch converter with a ticking current timestamp, unit auto-detection by digit count, UTC and local display, ISO 8601 and HTTP date formats, relative time, day of year, and the reverse conversion from any IANA time zone with correct daylight-saving offsets.

1767225600 → Thursday 1 January 2026 00:00:00 UTC; 1767225600000 is detected as milliseconds.