日期与时间

Unix时间戳转换器

转换Unix时间戳和日期。

输入数据

由 UtilBrix 提供支持

Current Unix seconds: —

计算结果

Unix seconds
1,788,480,000
Unix milliseconds
1,788,480,000,000
UTC
Fri, 04 Sep 2026 00:00:00 GMT
ISO 8601
2026-09-04T00:00:00.000Z
UTC reference
2026年9月4日星期五 UTC 00:00:00

详细方法和示例目前以英语提供。

Step-by-step instructions (English)

  1. Choose timestamp-to-date or date-to-timestamp conversion.
  2. For numeric input, explicitly choose seconds or milliseconds.
  3. For date input, enter the UTC date and time, then compare the resulting formats.

公式与方法

Unix time measures seconds since 1 January 1970 at 00:00:00 UTC. Millisecond input is divided by 1,000 for Unix seconds, with fractional seconds rounded down. Date-to-timestamp input is explicitly interpreted as UTC.

实际示例

Unix timestamp 0 is 1 January 1970 at 00:00:00 UTC. The equivalent millisecond value is also 0.

When this tool is useful

Inspect application logs, API timestamps, or stored event dates without doing epoch arithmetic manually. Matching the unit used by the source system is essential before comparing two event times.

Common mistakes and limitations

  • A timestamp in milliseconds is 1,000 times its value in seconds.
  • The date-to-timestamp input is UTC; do not paste a local time and assume an automatic time-zone conversion.

Practical questions about this tool (English)

Why does my converted date look far from the expected year?

The most common cause is using milliseconds as seconds or the reverse. Check the explicit unit selector and the source API documentation.

What is timestamp zero?

It represents January 1, 1970 at 00:00:00 UTC. A displayed local date can differ if another application applies a time-zone offset.

Put this tool into practice

相关工具

安装UtilBrix

从主屏幕快速访问工具。

  1. 打开浏览器菜单(⋮)。
  2. 选择“安装应用”或“添加到主屏幕”。
  3. 确认将UtilBrix添加到主屏幕。

如果找不到此选项,请在Android版Chrome中打开页面。

搜索工具

↑ ↓ Navigate · Enter Open · Esc Close