unix
Convert a Unix timestamp (seconds or milliseconds, detected automatically) to ISO date and time, or an ISO date to a Unix timestamp. Without input, returns the current time in both forms. Use to read timestamps in logs and APIs. Costs $0.001 in USDC on Base per successful call, paid with x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Unix seconds/milliseconds or an ISO date (default now) |