Binatomy
时间戳转换器

Unix 时间戳转换器

Convert between Unix timestamps (seconds and milliseconds) and a human-readable date, in both directions, with local, UTC and ISO time. Everything runs in your browser.

时间戳 → 日期

日期 → 时间戳

按本地时间解析

常见问题

常见问题

Everything you need to know about Unix timestamps

什么是 Unix 时间戳?

它表示从 1970 年 1 月 1 日世界协调时零点起经过的秒数,不计闰秒。这是一种与时区无关的通用时间表示方式,在编程和数据库里非常常用。

秒和毫秒有什么区别?

经典的 Unix 时间戳以秒为单位,在 2020 年前后是十位数;而 JavaScript 和很多现代系统用毫秒,是十三位数。工具会按数字的量级自动判断单位。