工具代码会在浏览器中处理所选文件和输入内容,不会将其提交给 TOOLGRID 的处理接口。 TOOLGRID 只衡量工具使用情况,不记录你输入的内容。
- 不上传工具输入至 TOOLGRID
- 不登录
- 复制前先检查
Loading tool…
这个工具能做什么
输入秒级或毫秒级时间戳,查看 UTC、本地时间和 ISO 格式,适合日志排查和接口调试。
时间戳转换器适合查看日志、数据库字段、API 响应和埋点事件时间。
它能帮助你快速判断时间戳是秒级还是毫秒级,并对照 UTC 与本地时间。
这个工具适合解决什么问题
Convert Unix timestamps from application logs into human-readable dates to understand when events occurred.
Convert the exp claim from a JWT payload (a Unix timestamp) into a readable date to verify when the token expires.
Convert stored Unix timestamps from a database query result into readable dates without writing a conversion function.
依赖结果前需要检查什么
- Performance and maximum practical input size depend on browser memory, device speed, and the structure of the input.
- Review the generated result before replacing or publishing an original file.
如果还需要校验、转换或复用结果,可以继续打开相近的浏览器本地工具。
如何使用
01使用场景
确认 created_at、expires_at 或 event_time 字段代表的真实时间。
把服务端 UTC 时间和本地观察时间放在一起比对。
使用技巧
- 01先判断秒和毫秒
如果转换后日期落在 1970 年附近或未来很远,通常是单位选错了。
- 02排障时记录 UTC
跨团队沟通问题时,UTC 时间比本地时间更不容易产生歧义。
常见问题
0210 位和 13 位时间戳有什么区别?
常见 10 位是秒级时间戳,13 位是毫秒级时间戳。
为什么本地时间和 UTC 不同?
UTC 是统一时间标准,本地时间会包含当前地区的时区偏移。
可以用于日志排查吗?
可以。建议同时保留原始时间戳和转换后的 UTC 时间,便于跨系统对照。

