在真实工作流中使用 Unix 时间戳转换器
这一步在真实流水线中的位置:上游给它什么、下游如何消费输出、以及继续之前该检查什么。
使用方法
- 从来源取得原始值——API 响应、配置文件、日志行或数据库导出。
- 用工具处理,并记下你使用的确切选项值,使这一步可复现。
- 把输出粘贴到流水线的下一环节(请求头、清单文件、脚本常量)。
- 把输入与输出一起记录;下一环节出错时,就能判断是哪一侧的问题。
示例
Seconds or milliseconds accepted.
输入
1700000000
输出 — 搜索结果
Unix timestamp: 1700000000 (seconds) UTC: 2023-11-14 22:13:20 ISO: 2023-11-14T22:13:20.000Z Local: Tue Nov 14 2023 22:13:20 GMT+0000 (Coordinated Universal Time) Seconds: 1700000000 Milliseconds: 1700000000000 Day of year: 318 · ISO week: 46 · Tuesday Display: 2023-11-14 22:13:20
运行
说明
Convert Unix time to human dates and back, in any timezone.
相关工具
CurrentUnix 时间Live clock showing Unix time in seconds and milliseconds.时间戳 to 日期转换器Turn a timestamp (s/ms/µs) into a formatted date instantly.日期 to 时间戳转换器Convert a calendar date & time into Unix epoch seconds.Milliseconds 转换器Convert milliseconds to seconds, minutes, hours and days.时间 Difference 计算器Distance between two timestamps or dates in every unit.Base64 编码器Encode text, JSON, URLs or files to Base64, standard or URL-safe.