⏱️ Timestamp Converter
Convert between Unix timestamps and human-readable dates and times, with timezone-aware parsing and formatting.
--
当前毫秒时间戳
--
当前秒时间戳
📅 常用时间戳速查
快捷值按上方所选时区的日历边界计算;昨天/明天指昨天/明天零点,跨夏令时也保留零点。
今天开始
--
今天结束
--
本周一
--
本月1号
--
昨天零点
--
明天零点
--
📋 批量时间戳转换
每行一个秒或毫秒时间戳,自动识别单位;结果仅在当前浏览器内生成。
📚 深度解析:时间戳转换
💡 常见使用场景
- Unix 秒↔日期。
- 看日志或数据库时间戳时把 Unix 秒换算成可读时间,快速定位事件。
转换
1700000000 → 2023-11-14 22:13:20 UTC(按本地时区显示)。
❓ 常见问题(FAQ)
- 秒还是毫秒?
- 本工具用秒,毫秒需÷1000。
- 是秒还是毫秒?
- Unix 时间戳常见秒级与毫秒级两种,毫秒级一般为 13 位数字;页面按位数与所选单位判断,注意区分。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Epoch | Unix time counts seconds from 1970-01-01T00:00:00Z | POSIX.1-2017 |
| Seconds and milliseconds | ten digits mean seconds and thirteen mean milliseconds | POSIX.1-2017 |
| Interchange format | exchange as an ISO date-time string with an offset | RFC 3339 |
⚠️ 使用说明与注意事项
- 本工具纯前端运行,数据不会上传到服务器
- 建议在主流浏览器(Chrome/Safari/Firefox/Edge)中使用
- 计算结果仅供参考,请以实际应用场景为准