运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install timestamp-tool
镜像加速npx clawhub@latest install timestamp-tool --registry https://cn.longxiaskill.com 镜像可用
技能文档
时间戳 - 时间转换工具 将 Unix 时间戳转换为人类可读的日期/时间格式,反之亦然。支持多个时区和常见的日期格式,用于日志处理。 用法:timestamp-tool [选项] <值> 选项 -u:输出为 Unix 时间戳 -f FORMAT:自定义输出格式 -z TIMEZONE:转换为时区 示例 timestamp-tool 1714896000 timestamp-tool -u "2026-05-05 12:00:00" timestamp-tool -z Asia/Shanghai now