Convert between Unix epoch time and dates in any timezone. 100% local.
Convert between Unix epoch time (seconds or milliseconds, detected automatically) and human-readable dates in any timezone — plus a live current-time clock — entirely in your browser. 在线Unix时间戳转换工具:秒级/毫秒级时间戳与日期时间互转(自动识别单位),支持任意时区显示,并带实时当前时间戳时钟。All processing is local; no data is uploaded.
A Unix timestamp counts the number of seconds (or milliseconds) that have elapsed since 00:00:00 UTC on 1 January 1970 (the "epoch"). It is timezone-free, which makes it the universal way to store and compare points in time in code, logs, APIs and databases. Unix 时间戳是从 1970-01-01 00:00:00 UTC 起经过的秒数(或毫秒数),与时区无关,是代码、日志、API 中记录时间的通用方式。
Everything runs locally with the browser's Intl date APIs. Your inputs never leave the page. 纯本地计算,数据不外传。
Q: My app expects milliseconds but I have seconds — what do I do? / 单位不对怎么办? — Multiply by 1,000 to go from seconds to milliseconds, or divide by 1,000 to go the other way. 秒 × 1000 = 毫秒。
Q: Why do two timezones show different wall-clock times for the same timestamp? / 为什么不同时区显示不一样? — A timestamp is one absolute moment; the displayed hour/minute shifts with the timezone offset. 时间戳是绝对时刻,显示随本地时区偏移变化。