convert_timestamp
Convert Unix timestamps to human-readable dates or vice versa. Accepts various date formats and outputs ISO, Unix, RFC 2822, and more.
Instructions
Convert a timestamp between Unix epoch and human-readable date formats.
Use this to translate Unix timestamps (e.g., 1717000000) into ISO 8601
date strings, or convert date strings back to Unix timestamps.
Parameters:
value — The timestamp or date string to convert (required).
Accepts Unix timestamps (seconds since epoch) or various
date string formats like "2025-05-29" or "May 29, 2025".
format — Target output format (default: "iso"). Common values include
"iso", "unix", "rfc2822", etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| format | No | iso |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |