| 格式 | 数值 |
|---|
计算原理
数量级判断:≥1e15 → 微秒,≥1e12 → 毫秒,否则为秒。JavaScript 的 Date 对象内部以毫秒为单位;时区格式化使用 Intl.DateTimeFormat。
ISO 8601 是标准的“Z”/UTC 形式;RFC 3339 与其相同,只是带有明确的时区偏移量。
将Unix时间戳换算为人类可读日期,也可反向换算,支持时区、毫秒精度以及ISO 8601/RFC 3339格式输出,并提供批量列表处理模式。
| 格式 | 数值 |
|---|
数量级判断:≥1e15 → 微秒,≥1e12 → 毫秒,否则为秒。JavaScript 的 Date 对象内部以毫秒为单位;时区格式化使用 Intl.DateTimeFormat。
ISO 8601 是标准的“Z”/UTC 形式;RFC 3339 与其相同,只是带有明确的时区偏移量。
Paste a number and the tool infers its unit from magnitude: 1e15 or larger is treated as microseconds, 1e12 or larger as milliseconds, anything smaller as seconds, with commas, underscores and spaces stripped first. From that single date it derives eight rows: Unix seconds, Unix milliseconds, ISO 8601 in UTC, RFC 3339 carrying your timezone's offset, a long human-readable form, a relative age, day of year, and the ISO week number.
The Timezone dropdown is the control that changes the output, and UTC is force-added to the list because browsers frequently omit it. It reformats the human line, the RFC 3339 row and the relative age. The timestamp box starts at 1700000000, the Now button fills in the current second, and Batch mode opens a textarea where each line is converted independently into an ISO 8601 string and a relative age.
The timezone selector does not reach everything. The date picker beneath it reads and writes in your browser's own local time, so choosing a date while a different zone is selected will not give the result you expect, and the day-of-year and ISO-week rows are likewise derived from browser-local date components. Relative ages are deliberately rough: a month is treated as 30 days and a year as 365, so anything older than a month is approximate.
The tool decides by size. 1700000000 is read as seconds, 1700000000000 as milliseconds, and a 16-digit value as microseconds. If your result lands in 1970 or in some far-future year, the magnitude rule has guessed a different unit from the one you intended.
The ISO 8601 row is always UTC and ends in Z. The RFC 3339 row is the same instant written in your selected timezone with an explicit numeric offset such as +13:00, built by formatting the date and appending that zone's short offset.
Yes. Click Batch mode and paste one value per line into the textarea. Each line is parsed on its own using the same magnitude auto-detection, then shown as an ISO 8601 string plus a relative age. Lines that cannot be parsed are marked invalid.
Use the date picker field, which writes the whole-second Unix value straight back into the timestamp box. Be aware that this picker operates in your browser's local timezone rather than the zone selected in the dropdown above it.
The ISO 8601 week, which begins on Monday and assigns each week to whichever year contains its Thursday. That is why a date in early January can legitimately come back as week 52 or 53 of the preceding year rather than week 1.
Cron Expression Builder & Translator
Build cron expressions visually and translate any cron string to plain English with the next 5 fire times.
Bandwidth & Download Time Calculator (Mbps ↔ MB/s)
Convert Mbps to MB/s and calculate download time for any file size at any internet speed.
Regex Tester with Plain English Explainer
Test regular expressions live with match highlighting and a plain English breakdown of every part of the pattern.