查找工具

↑↓ 选择 Enter 打开

不知道工具名称时,可输入“格式化”或“计数”等任务词。

Timestamp Converter

仅本地处理

Timestamp Converter 用于在浏览器中转换数据或文件,并清楚显示处理结果和限制。 本页包含该工具的实际输入输出、实现边界和一手参考资料。

已审核 · 更新于 · 免费使用 · 无需账号

Timestamp Workspace

Unix timestamp to date

Auto-detect uses digit length: 10 seconds, 13 milliseconds, 16 microseconds, or 19 nanoseconds.

Date to Unix timestamp

The date input uses the browser’s local time zone. Output below shows both UTC and the selected display zone.

Converted resultWaiting for input
ISO 8601 / UTC
—
Selected time zone
—
Unix seconds
—
Unix milliseconds
—
Relative to now
—
Conversions use the browser Date and Intl APIs. No timestamp is transmitted.

Timestamp Converter可以处理什么?

Timestamp Converter 用于在浏览器中转换数据或文件,并清楚显示处理结果和限制。 已核对的功能: Seconds through nanoseconds, UTC ISO 8601, IANA time zones, Date-to-epoch conversion.

Store instants; choose zones for display

Use Unix time or offset-bearing ISO 8601 for an instant. Apply an IANA time zone only when presenting that instant as a regional wall time.

如何使用?

  1. Paste a timestamp and keep Auto-detect or choose its exact unit.
  2. Select the time zone used for the readable display.
  3. Copy the ISO 8601, Unix-second, or millisecond value required by the target system.

实际输入输出示例

Convert Unix zero

输入

0 seconds

输出

1970-01-01T00:00:00.000Z

Unix time zero is the UTC epoch; local displays apply their zone offset to the same instant.

常见错误与修复方法

现象可能原因修复方法
The year is far in the future.A millisecond value was interpreted as seconds.Choose Milliseconds or use Auto-detect on the complete value.
The displayed hour differs between systems.The systems use different time zones or one input lacks an offset.Compare ISO 8601 UTC output and specify the intended IANA zone.

Unit and zone assumptions change the display

该工具的实际边界: Treating milliseconds as seconds creates a date far outside the expected year. A local date can also shift when one system assumes UTC and another omits the offset.

标准与实现参考

关于Timestamp Converter的常见问题

How are units detected?

Up to 10 digits is seconds, up to 13 milliseconds, up to 16 microseconds, and longer values nanoseconds.

Does time zone change a timestamp?

No. It changes only the displayed local representation of the same instant.

Is daylight saving time included?

Yes when the browser has current IANA time-zone data.

更新记录

本次实质更新: Timestamp Converter: Added automatic unit detection, bidirectional conversion, ISO 8601 output, selected IANA zones, and relative time.

谁在维护这个工具?

KL
KitLumi EngineeringKitLumi 工程团队负责维护工具行为、隐私说明、示例和自动化测试。