{"uid":"cap_rJ2Y3WEnYRl2C7gTczpBQ","slug":"agent402-datetime-normalizer-f50bf151","name":"Agent402 Datetime Normalizer","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/normalize/datetime","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"offset":{"type":"string","description":"+HH:MM"},"datetime":{"type":"string","description":"ISO or unix s/ms"}}},"responseSchema":{"type":"json","example":{"valid":true,"unix_s":1786449600,"iso_utc":"2026-08-11T12:00:00.000Z"}},"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_EE5hZyiHIiW5IrsPDayfc","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 Unix timestamps or ISO 8601 datetime strings into a canonical UTC ISO 8601 format, optionally applying a fixed UTC offset.","exampleAgentPrompt":"Can you normalize the datetime '1786449600' (unix seconds) to ISO UTC format, and also give me the equivalent at +05:30 offset?","exampleUseCases":[{"title":"Normalize API timestamp for display","prompt":"I've got a unix timestamp 1700000000 coming back from an external API — can you convert it to a proper ISO UTC datetime string so I can display it to users?"},{"title":"Standardize ISO datetime to UTC","prompt":"I have a datetime string '2026-08-11T14:00:00+02:00' that I need normalized to UTC ISO 8601 format before storing it in our database — can you do that?"},{"title":"Pipeline datetime canonicalization with offset","prompt":"Before I trigger this workflow, I need to normalize the timestamp '2024-03-15T08:30:00' to UTC and also see what it looks like at a +09:00 offset — can you run that conversion?"}],"resultDescription":"Returns a JSON object with a 'valid' boolean indicating whether the input was parseable, the normalized 'iso_utc' string in ISO 8601 UTC format (e.g. '2026-08-11T12:00:00.000Z'), and 'unix_s' as the equivalent Unix epoch in seconds. If an offset is supplied, the output reflects the adjusted time. Does not resolve IANA timezone names — only fixed numeric offsets are supported.","failureModes":["Unparseable datetime string returns valid:false","Malformed offset format (e.g. missing colon) may cause error or unexpected result","Unix timestamps in microseconds may be misidentified as seconds or milliseconds","Does not support IANA timezone names (e.g. 'America/New_York') — only fixed offsets like +05:30","Payment failure or 402 response if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic datetime normalization step in an agent pipeline — particularly when converting between unix timestamps and ISO 8601 UTC, or applying a fixed numeric UTC offset. It is ideal for data preprocessing, ETL canonicalization, or any workflow where consistent datetime formatting is required at low cost ($0.001). Do not use it when you need IANA timezone resolution (e.g. 'America/New_York' with DST handling) or calendar-aware operations — those require a full timezone database.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:52:51.557Z","isFirstParty":false}