Unix Timestamp Converter (Seconds, Milliseconds, ISO 8601)
timestamp_convertConvert a Unix timestamp to a date and time, or a date and time to a Unix timestamp. Send timestamp (text of digits, seconds, milliseconds, microseconds or nanoseconds since 1970-01-01 00:00:00 UTC; leave unit as auto and the unit is found from the size of the number) and optionally a zone (IANA name such as America/Chicago) to also get the local time. Or send iso, an RFC 3339 date and time such as 2023-11-14T22:13:20Z or 2023-11-14T16:13:20-06:00 (or without an offset plus zone), and get the epoch in seconds, milliseconds, microseconds and nanoseconds, exact. Flags a number that looks like the wrong unit (a seconds value sent as milliseconds lands in January 1970), a value of 0, and values past the signed 32-bit limit of 2038-01-19. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/timestamp-convert). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "timestamp_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iso | No | Date and time as RFC 3339 / ISO 8601: YYYY-MM-DDTHH:MM:SS[.fraction][Z or +HH:MM]. Without Z or an offset, zone is required. Send this or timestamp, not both. | |
| unit | No | Unit of timestamp. auto (default) picks the one unit that puts the date between 1990 and 2100. | auto |
| zone | No | IANA time zone to show the local time in (timestamp) or to read an iso with no offset in. Optional for a timestamp; UTC is always shown. | |
| label | No | Optional label (your own text, echoed back; not a person). | |
| timestamp | No | Unix timestamp as text of digits (up to 19 digits and 9 decimals), e.g. '1700000000' or '1700000000123'. Send this or iso, not both. | |
| repeated_time | No | Only for an iso with no offset: when the zone's clock shows that time twice (clocks going back), first (default) or second occurrence. | first |