Unix Timestamp Converter · Unix 时间戳转换器
Convert a Unix timestamp to a human-readable date, or turn any date into a timestamp — in UTC and your local time. 把 Unix 时间戳换成看得懂的日期,或把任意日期换成时间戳,同时显示 UTC 和你的本地时间。
Current time 现在时间
Live from your device clock, updated every second. 来自你设备的时钟,每秒刷新。
Timestamp to date 时间戳转日期
Paste a Unix timestamp in seconds (10 digits) or milliseconds (13 digits) — the unit is detected automatically. 粘贴秒级(10 位)或毫秒级(13 位)Unix 时间戳,单位自动识别。
Date to timestamp 日期转时间戳
Pick a date and time — it is read in your local timezone. 选择日期和时间,按你的本地时区解读。
How to use 使用方法
- Timestamp → date: paste any Unix timestamp into the middle box and press Convert. 10 digits are read as seconds, 13 digits as milliseconds. 把时间戳粘贴到中间的输入框,点「转换」:10 位按秒、13 位按毫秒识别。
- Date → timestamp: pick a date and time in the third box to get its timestamp in seconds and milliseconds. 在第三个框里选日期时间,得到秒级和毫秒级时间戳。
- Copy anything: every result row has a Copy button. Copy 按钮可以复制每一行结果。
FAQ 常见问题
What is a Unix timestamp? 什么是 Unix 时间戳?
It is the number of seconds that have passed since 1 January 1970, 00:00:00 UTC — a single number that means the same moment everywhere on Earth, whatever the local timezone. 它是从 1970 年 1 月 1 日 00:00:00 UTC 起经过的秒数:一个数字在全球代表同一个时刻,不受时区影响。
Seconds or milliseconds — how can I tell? 秒还是毫秒,怎么区分?
Current timestamps in seconds have 10 digits (1764300000); in milliseconds they have 13 (1764300000000). This converter detects the unit from the length and magnitude, and tells you which one it used. 现在的秒级时间戳是 10 位,毫秒级是 13 位。本工具按长度和量级自动识别,并会告诉你用了哪种单位。
Why do the UTC and local times differ? 为什么 UTC 和本地时间不一样?
They are the same instant shown on two different clocks. UTC never changes for daylight saving; your local time is UTC plus your timezone offset — for example UTC+8 in China. 两者是同一时刻在两个时钟上的读数:UTC 不随夏令时变化,本地时间 = UTC 加上你的时区偏移,例如中国是 UTC+8。
Is anything uploaded? 我的数据会被上传吗?
No. Every conversion runs in JavaScript on this page, in your browser. Nothing you type is sent anywhere. 不会。所有转换都在本页面的 JavaScript 里、你的浏览器中完成,输入的内容不会发送到任何地方。