{"uid":"cap_EIJc8IZz78HFc6kBerTJN","slug":"agent402-uk-timestamp-converter-5c550887","name":"Agent402 UK Timestamp Converter","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/utils/timestamp","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"t":{"type":"string","description":"Unix seconds/ms or ISO string; omit for now"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"iso":"2024-03-09T16:00:00.000Z","valid":true,"unix_seconds":1710000000}},"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":"down","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_MsYy-aoyeqOlIgtTi8M7K","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 and ISO 8601 datetime strings, or returns the current time if no input is provided","exampleAgentPrompt":"What is the ISO 8601 string for Unix timestamp 1710000000, and what's the current time in both Unix seconds and ISO format right now?","exampleUseCases":[{"title":"Log timestamp normalization pipeline","prompt":"I have a batch of log entries with Unix epoch seconds like 1710000000 — convert that to ISO 8601 so I can display it in our dashboard."},{"title":"Current time anchor for scheduled task","prompt":"What's the current time right now as both a Unix timestamp and an ISO string? I need the exact epoch to anchor a scheduled workflow."},{"title":"ISO to epoch conversion for API call","prompt":"I have an ISO datetime '2024-03-09T16:00:00.000Z' and need to convert it to Unix seconds so I can pass it to another API that only accepts epoch integers."}],"resultDescription":"Returns a JSON object with three fields: 'iso' (the ISO 8601 datetime string), 'unix_seconds' (the Unix epoch in seconds), and 'valid' (boolean indicating whether the input was a valid timestamp). If no input is provided, returns the current moment in both formats.","failureModes":["Invalid timestamp string returns valid:false with null/empty conversion fields","Ambiguous millisecond vs second epoch values may be misinterpreted if magnitude is borderline","Network or payment (x402) failure returns no response","Malformed query parameter format may return a 400-level error"],"whenToPreferThis":"Use this endpoint when an agent needs deterministic, exact timestamp conversion between Unix epoch (seconds or milliseconds) and ISO 8601 without risk of hallucinated or locale-dependent formatting. Prefer over LLM-generated date math when correctness and reproducibility are critical, especially in scheduling, logging, or multi-system interop workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:26:30.150Z","isFirstParty":false}