Timestamp

效率与工作流

by openclaw-ai

Translates between Unix, ISO 8601, and human-readable formats while automatically detecting input types. Parses complex cron expressions into plain English and calculates precise differences between specific dates or durations. Handles global timezone conversions and formatting to streamline scheduling and data processing tasks.

View Chinese version with editor review

Tools (5)

convert_timestamp

Convert a timestamp between formats: unix epoch (seconds/ms) ↔ ISO 8601 ↔ human-readable ↔ relative ("3 hours ago"). Auto-detects input format. Returns all formats at once plus UTC offset info.

timezone_convert

Convert a datetime from one timezone to another. When show_all=true, displays the time in 7 common timezones simultaneously (UTC, JST, EST, PST, CET, IST, CST).

parse_cron

Parse a standard 5-field cron expression (minute hour day month weekday). Returns: human-readable description, validation status, next 5 run times. E.g. "*/5 9-17 * * 1-5" → "Every 5 minutes from 9am to 5pm, Mon-Fri".

time_diff

Calculate the difference between two datetimes. Returns difference in seconds, minutes, hours, days, weeks, and approximate months. Handles past/future direction automatically.

format_duration

Convert between duration formats: seconds (integer) ↔ human string ("2h 30m 15s") ↔ ISO 8601 duration ("PT2H30M15S"). Auto-detects input format.

Related MCP Servers

Filesystem

Read, write, and manage files and directories on your local filesystem.

82.9k
io.github.wonderwhy-er/desktop-commander

MCP server for terminal commands, file operations, and process management

5.8k
EdgarTools

Open-source SEC EDGAR toolkit — 11 tools, 7 prompts, every filing type. No API key required.

1.9k