⏱ Unix 时间戳转人类时间Convert Unix Time to Human Time
把 Unix 秒或毫秒换成 UTC 的 YYYY-MM-DD HH:MM:SS。本地处理。可设置「单位」。Convert Unix seconds or milliseconds to UTC YYYY-MM-DD HH:MM:SS. Processed locally. Settings: Unit.
使用说明与常见问题How-to & FAQ
「Unix 时间戳转人类时间」是什么?What is the Convert Unix Time to Human Time tool?
把 Unix 秒或毫秒换成 UTC 的 YYYY-MM-DD HH:MM:SS。本地处理。可设置「单位」。Convert Unix seconds or milliseconds to UTC YYYY-MM-DD HH:MM:SS. Processed locally. Settings: Unit.
如何使用「Unix 时间戳转人类时间」?How do I use the Convert Unix Time to Human Time tool?
输入 Unix 时间戳(秒或毫秒),下方即显示 UTC 日期时间;“单位”可设为自动、秒或毫秒。Enter a Unix timestamp in seconds or milliseconds to see the UTC date and time; set Unit to Auto, Seconds or Milliseconds.
怎么判断是秒还是毫秒?How does it tell seconds from milliseconds?
“单位”默认是自动:绝对值 ≥ 1e12 视为毫秒,否则视为秒;也可以手动选择秒或毫秒。The Unit setting is Auto by default: an absolute value of 1e12 or more is read as milliseconds, anything smaller as seconds. You can also choose seconds or milliseconds yourself.
结果是哪个时区的时间?Which time zone is the result in?
总是 UTC,不使用设备的本地时区,也不涉及夏令时。Always UTC. Your device's local time zone is not used and daylight saving time does not apply.
9999 年以后怎么显示?How are years after 9999 shown?
年份 0000–9999 用 4 位数字;超过 9999 时按 ISO 8601 扩展年份写法加“+”,例如 253402300800 = +10000-01-01 00:00:00;公元前用负年份如 -0005。Years 0000 to 9999 use 4 digits. Later years use the ISO 8601 expanded form with a plus sign, for example 253402300800 is +10000-01-01 00:00:00, and years before 1 AD are negative, such as -0005.
可以输入哪些数字?What input is accepted?
只接受十进制整数(可带负号);1e9、0x10、小数会报错,只有空格时视为空输入。Whole decimal numbers only, with an optional minus sign. 1e9, 0x10 and decimals give an error, and input that is only spaces counts as empty.
输入和输出是什么样的?What does the input and output look like?
例如输入 0,输出为:1970-01-01 00:00:00。The input 0 becomes 1970-01-01 00:00:00.
有哪些选项可以调整?What options can I adjust?
「Unix 时间戳转人类时间」的设置:「单位」可选 自动、秒、毫秒(默认 自动)。每次生成结果都按当前设置处理。Settings in the Convert Unix Time to Human Time tool — "Unit": Auto, Seconds, Milliseconds (default Auto). The result always uses the current settings.
时区如何处理?How are time zones handled?
「Unix 时间戳转人类时间」按 UTC(协调世界时)或纯日期计算,不受你设备时区和夏令时影响。The Convert Unix Time to Human Time tool works in UTC (or with plain calendar dates), so your device's time zone and daylight saving time do not affect the result.
「Unix 时间戳转人类时间」免费吗?需要注册吗?Is the Convert Unix Time to Human Time tool free? Do I need an account?
「Unix 时间戳转人类时间」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Unix Time to Human Time tool is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.