🔍

首页Home › 日期时间Date & Time

⏱ 人类时间转 Unix 时间戳Convert Human Time to Unix Time

把 YYYY-MM-DD HH:MM:SS(UTC,可带小数秒)换成 Unix 秒或毫秒。本地处理。Convert YYYY-MM-DD HH:MM:SS (UTC, fractional seconds allowed) to Unix seconds or milliseconds. Processed locally.

使用说明与常见问题How-to & FAQ

「人类时间转 Unix 时间戳」是什么?What is the Convert Human Time to Unix Time tool?

把 YYYY-MM-DD HH:MM:SS(UTC,可带小数秒)换成 Unix 秒或毫秒。本地处理。Convert YYYY-MM-DD HH:MM:SS (UTC, fractional seconds allowed) to Unix seconds or milliseconds. Processed locally.

如何使用「人类时间转 Unix 时间戳」?How do I use the Convert Human Time to Unix Time tool?

输入 UTC 日期时间,如 2023-11-14 22:13:20,下方即显示 Unix 秒数;勾选“毫秒”改为输出毫秒。Enter a UTC date and time such as 2023-11-14 22:13:20 to get Unix seconds below; tick "Milliseconds" for milliseconds instead.

输入按哪个时区理解?Which time zone is the input read in?

一律按 UTC 理解,与设备所在时区无关;需要换算当地时间请先用时区换算工具。Always UTC, whatever your device's time zone is. To start from a local time, convert it to UTC first with a time zone converter.

支持哪些日期和格式?Which dates and formats are supported?

年份 0001–9999(外推格里高利历),格式 YYYY-MM-DD,可加 HH:MM、HH:MM:SS 和最多 3 位小数秒。2024-02-30、13 月、25:00 这类不存在的值会报错,不会自动顺延。Years 0001 to 9999 on the proleptic Gregorian calendar, written YYYY-MM-DD with an optional HH:MM or HH:MM:SS and up to 3 decimal places of seconds. Impossible values such as 2024-02-30, month 13 or 25:00 give an error instead of rolling over.

1970 年以前会怎样?What about dates before 1970?

得到负的时间戳,例如 0001-01-01 是 -62135596800。You get a negative timestamp; for example 0001-01-01 is -62135596800.

输入和输出是什么样的?What does the input and output look like?

例如输入 1970-01-01,输出为:0。The input 1970-01-01 becomes 0.

有哪些选项可以调整?What options can I adjust?

「人类时间转 Unix 时间戳」的设置:可勾选:「毫秒」。每次生成结果都按当前设置处理。Settings in the Convert Human Time to Unix Time tool — tick boxes: "Milliseconds". The result always uses the current settings.

时区如何处理?How are time zones handled?

「人类时间转 Unix 时间戳」按 UTC(协调世界时)或纯日期计算,不受你设备时区和夏令时影响。The Convert Human Time to Unix 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 Human Time to Unix Time tool free? Do I need an account?

「人类时间转 Unix 时间戳」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Human Time to Unix 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.

相关工具Related tools

⏱ Unix 时间戳转人类时间Convert Unix Time to Human Time⏱ 时间转秒数Convert Time to Seconds📅 儒略历转公历日期Convert Julian Date to Gregorian Date🔭 儒略日转日期Convert Julian Day to Date🪖 军事时间转常规时间Convert Military Time to Regular Time🪖 常规时间转军事时间Convert Regular Time to Military Time⏱ 秒数转时间Convert Seconds to Time🌍 国家之间时间换算Convert Time Between Countries🌐 时区之间时间换算Convert Time Between Timezones📅 递减日历日期Decrement Calendar Date⏰ 递减时钟时间Decrement Clock Time📅 绘制月历Draw Monthly Calendar

← 全部工具All tools