将 Unix 时间戳转换为人类可读的日期。
此工具可将 Unix 时间戳(以秒为单位)转换为人类可读的日期格式(例如 YYYY-MM-DD HH:MM:SS)。它支持本地和 UTC 输出,因此可用于快速解释来自日志、API 或使用 Unix 时间的系统的时间戳。
This example shows how Unix timestamps are converted into human-readable dates. Each timestamp represents the number of seconds that have elapsed since January 1, 1970 (UTC).
0 1721287227 2147483647
1970-01-01 00:00:00.000 UTC 2024-07-18 10:00:27.000 UTC 2038-01-19 03:14:07.000 UTC
In this example, the UTC suffix is removed from the output. This might be useful for embedding timestamps into other formats or for cleaner display.
1234567890 1672531199
2009-02-13 23:31:30.000 2022-12-31 23:59:59.000
This example demonstrates how timestamps are shown in your local timezone rather than UTC. The UTC suffix is omitted in this case.
1721287227
2024-07-18 12:00:27