{"uid":"cap_zL9JhjIkAlvtKFWwjkWuP","slug":"timestamp-converter-unix-iso-8601-819f74a8","name":"Timestamp Converter (Unix ↔ ISO-8601)","description":"Convert between Unix epoch (s/ms) and ISO-8601; report weekday and UTC offset.","url":"https://api.24klabs.ai/api/timestamp-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"value":{"type":"number"}}},"responseSchema":{"type":"json","example":{"iso":"2025-06-27T..."}},"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_XM7ShKGRxBQrDGIfx-Hme","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 between Unix epoch timestamps (seconds or milliseconds) and ISO-8601 datetime strings, and reports the weekday and UTC offset.","exampleAgentPrompt":"Convert the Unix epoch timestamp 1700000000 seconds to ISO-8601 format and tell me what day of the week it falls on.","exampleUseCases":[{"title":"Logging timestamp human-readable display","prompt":"I have a Unix timestamp 1698765432 in seconds from our server logs — can you convert it to ISO-8601 and tell me what day of the week that was?"},{"title":"API response date normalization","prompt":"Convert the ISO-8601 string '2024-03-15T14:30:00Z' to a Unix epoch timestamp in both seconds and milliseconds so I can store it in our database."},{"title":"Epoch milliseconds from frontend event","prompt":"Our frontend is sending event timestamps in milliseconds — convert 1711497600000 ms to a readable ISO-8601 datetime and tell me the UTC offset and weekday."}],"resultDescription":"Returns the converted timestamp in the target format (Unix epoch seconds/milliseconds or ISO-8601 string), along with the weekday name and UTC offset for the given point in time.","failureModes":["Invalid or out-of-range epoch value returns a 4xx error","Malformed ISO-8601 string that cannot be parsed returns a validation error","Ambiguous timezone or missing UTC offset may result in UTC assumption","Extremely large epoch values (beyond year 9999) may be rejected"],"whenToPreferThis":"Use this endpoint when an agent needs to reliably convert between machine-readable Unix timestamps and human-readable ISO-8601 strings, or when it needs to determine the weekday or UTC offset for a given point in time. Prefer this over manual computation or LLM inference, which can be error-prone for timestamp arithmetic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:00.370Z","isFirstParty":false}