Unix 时间戳与北京时间批量互转

把整批 Unix 时间戳转换为可读日期——也可以反向转换。不限数量,无需安装任何东西。

#输入DateEpoch (s)Epoch (ms)
嵌入此工具到你的网站 / 博客 无需开发 · 复制即可使用
HTML 嵌入代码 (iframe):
<iframe src="https://lucentool.com/zh/batch-epoch-converter" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/zh/batch-epoch-converter" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Unix 时间戳与北京时间批量互转</a></div>

什么是 Unix 时间戳?

Unix 时间戳(epoch)是从 1970 年 1 月 1 日 00:00:00 UTC 起经过的秒数——或毫秒数。数据库、日志、API 和文件系统都用这种方式存储时间,因为单个数字紧凑且不依赖时区。但 1700000000 对人类毫无意义,这正是这个转换器的用武之地。

秒还是毫秒?

经典 Unix 时间用秒(10 位数字)。现代 JavaScript 的 Date.now()、大多数 Node.js 和 Java 时间戳用毫秒(13 位数字)。本工具会根据数字位数自动检测格式,所以粘贴混合列表也能正常转换。

使用方法

调试日志文件、数据库导出或 API 响应时,批量模式让你不用把单个转换器打开 50 次。