{"uid":"cap_MFeT2rbz0BVRNPaCmafX3","slug":"unix-time-iso-8601-converter-with-drift-fcce8c83","name":"Unix Time / ISO 8601 Converter with Drift","description":"Convert between unix time and ISO 8601, with drift against now — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/time-convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"time":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"time-convert","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EJr0FqrAAMD9mQMJHuoVh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a time value between Unix timestamp and ISO 8601 format, and reports how far that time drifts from the current moment","exampleAgentPrompt":"Convert the unix timestamp 1704067200 to ISO 8601 and tell me how far that is from right now.","exampleUseCases":[{"title":"Decoding a log timestamp","prompt":"I've got a unix timestamp 1698765432 from a server log — convert it to ISO 8601 and tell me how long ago that was."},{"title":"Checking age of a blockchain event","prompt":"Turn the epoch time 1700000000 into a readable ISO date and tell me how many seconds it drifts from the current moment."},{"title":"Validating an ISO datetime string","prompt":"Can you convert '2024-01-01T00:00:00Z' to a unix timestamp and show me the drift from now?"}],"resultDescription":"Returns a JSON object with ok=true, the converted time value (between unix and ISO 8601), the drift between the input time and the current moment, and a payment receipt containing the transaction hash, amount in USD, and a unique receipt ID.","failureModes":["Invalid or unparseable time string returns an error response","Missing 'time' parameter in params object causes a 400-style error","Malformed ISO 8601 string (e.g. missing timezone) may fail to parse","Payment failure (insufficient funds or bad x402 header) results in 402 response before conversion occurs"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call time format conversion between unix epoch and ISO 8601 with the added utility of knowing drift relative to now — useful in agentic workflows that process blockchain events, logs, or scheduling data where both the formatted time and its age are needed simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:17:20.297Z","isFirstParty":false,"canonicalSlug":"unix-time-iso-8601-converter-with-drift-fcce8c83"}