Developer Tools
时间戳转换器
盯着 1729185600 不知道是何时?把 Unix 时间戳转成可读日期——或把日期转回时间戳。
Leave empty and press Now for the current time. Seconds or milliseconds are detected automatically.
Date to timestamp
Pick a date and time (interpreted in your local timezone).
Private by design: This tool runs entirely in your browser. Nothing you type or upload is sent to a server.
使用方法 时间戳转换器
- 粘贴时间戳. 秒或毫秒——工具自动识别(10 位或 13 位)。
- 读取日期. 以本地时区与 UTC 显示完整日期,外加「3 小时前」这样的相对时间。
- 或反向转换. 选择日期/时间,得到两种精度的 Unix 时间戳。
- 用「现在」. 一键填入当前时间戳。
时间戳转换器 功能
- 秒/毫秒自动识别
- 本地时区与 UTC 显示
- 相对时间(「2 天后」「3 小时前」)
- 反向转换的日期选择器
- 当前时间戳的「现在」按钮
- 一键复制任意值
时间戳转换器 常见问题
- 数位数:10 位是秒(用到 2286 年),13 位是毫秒。工具按量级自动判断,两种都可直接粘贴。
- 两个都显示:浏览器本地时区与 UTC,可切换。服务器和日志一般要 UTC,人看一般要本地。
- 32 位系统用有符号 32 位整数存 Unix 时间,2038 年 1 月 19 日会溢出。现代 64 位系统与 JavaScript(用浮点毫秒)不受影响。
- 一个数字无歧义:没有时区困惑,没有格式之争(MM/DD 还是 DD/MM),比较排序都简单。本工具把它翻译回人类语言。
相关工具
UUID Generator
Generate bulk v4 UUIDs with Web Crypto - uppercase/lowercase, hyphens on/off, copy all.
Use tool →Hash Generator
Hash text or files with MD5, SHA-1, SHA-256, SHA-384, SHA-512 - in your browser.
Use tool →Regex Tester
Test regular expressions live with match highlighting, capture groups and a cheatsheet.
Use tool →