timestamp_convert
Convert Unix epoch seconds or milliseconds to ISO-8601, or an ISO-8601 datetime to Unix epoch values, when bridging APIs that disagree on time formats.
Use when:
Convert this Unix timestamp to ISO-8601
Turn an ISO-8601 datetime into epoch milliseconds
Bridge APIs that mix Unix seconds and ISO-8601 strings
Do not use when:
Convert a datetime between IANA timezones while preserving the instant (use timezone_convert)
Convert length, mass, or temperature units (use unit_convert)
Interpret relative phrases like 'next Tuesday' or 'in 3 hours'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Unix timestamp or ISO-8601 datetime | |
| input_format | Yes | Format of value |