Epoch Converter
在 Unix 时间戳和可读日期之间互相转换,工具完全在浏览器中运行,显示 UTC、本地时间和 ISO 格式。
Use it for quick timestamp checks, API work and log review without sending values anywhere.
Enter seconds or milliseconds, for example 1710153600.
结果
结果将显示在此处。
工作原理
Unix 时间从 1970 年 1 月 1 日 UTC 起以秒计数。本页面接受以秒或毫秒为单位的时间戳,自动识别单位,并以 UTC、本地时间和 ISO 8601 格式输出。
从日期反向转换时,浏览器解析所选的本地日期,生成 Unix 秒和毫秒,便于在 API、日志或调试流程中快速复用。
示例
1710153600 UTC: Mon, 11 Mar 2024 00:00:00 GMT 本地: depends on your system time zone
常见问题
什么是 epoch 时间?
epoch 时间是从 1970 年 1 月 1 日 00:00:00 UTC 开始经过的秒数或毫秒数。
什么是 Unix 时间戳?
Unix 时间戳是 epoch 时间的另一种叫法,通常以秒为单位表示。
epoch 时间总是 UTC 吗?
是的。时间戳本身与时区无关,以 UTC 为基准。只有显示的人类可读形式会在 UTC 与本地时区之间发生变化。
这款工具的常见用法
Read the practical guide for real timestamp workflows, common scenarios and quick examples.