{"uid":"cap_7t17KzuMGUlSx6Rk2JT2g","slug":"dev-reference-timestamp-format-converter-92de3981","name":"Dev Reference: Timestamp Format Converter","description":"Convert a timestamp (RFC 3339, ISO 8601, HTTP-date or epoch seconds) to RFC 3339, HTTP-date, RFC 5322, basic ISO and epoch.","url":"https://dev-reference.x402tookit.com/datetime-convert?utm_source=zero.xyz","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","required":[],"properties":{"epoch":{"type":"number","description":"Seconds since 1970-01-01T00:00:00Z (may be fractional or negative)"},"value":{"type":"string","description":"RFC 3339/ISO 8601 timestamp or HTTP-date such as 'Sun, 06 Nov 1994 08:49:37 GMT'"},"assumeOffset":{"type":"string","description":"For timestamps without an offset: +hh:mm or Z to assume"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"rfc5322":{"type":["null","string"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"weekday":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"httpDate":{"type":["null","string"]},"inputKind":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"rfc3339Utc":{"type":["null","string"]},"isoWeekDate":{"type":["null","string"]},"ordinalDate":{"type":["null","string"]},"epochSeconds":{"type":["null","number"]},"iso8601Basic":{"type":["null","string"]},"epochMilliseconds":{"type":["null","number"]},"rfc3339WithOffset":{"type":["null","string"]},"utcOffsetMinutesUsed":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_h_6-LT6nmlcclaNQvOXdl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a timestamp (RFC 3339, ISO 8601, HTTP-date, or epoch seconds) into multiple standard formats including RFC 3339, HTTP-date, RFC 5322, ISO 8601 basic, and epoch seconds/milliseconds.","exampleAgentPrompt":"Convert the timestamp 2024-03-15T14:30:00Z into all the standard formats — I need RFC 3339, HTTP-date, RFC 5322, ISO 8601 basic, and epoch seconds.","exampleUseCases":[{"title":"Log timestamp normalization for debugging","prompt":"I have this HTTP-date from a server log header — 'Sun, 06 Nov 1994 08:49:37 GMT' — can you convert it to RFC 3339 UTC and give me the epoch seconds too?"},{"title":"Epoch seconds to human-readable formats","prompt":"What does epoch timestamp 1700000000 look like in RFC 3339, RFC 5322, and HTTP-date format?"},{"title":"Ambiguous timestamp with assumed offset","prompt":"Convert '2024-06-01T09:00:00' to all standard timestamp formats assuming the offset is +05:30."}],"resultDescription":"Returns an object with the converted timestamp in multiple standard formats: RFC 3339 UTC, RFC 3339 with original offset, HTTP-date, RFC 5322, ISO 8601 basic, ISO week date, ordinal date, epoch seconds, epoch milliseconds, weekday, and metadata about which offset was used and the input kind detected.","failureModes":["Invalid or unparseable timestamp string returns an error or null fields","Missing both 'value' and 'epoch' query parameters results in a missing-input error","Ambiguous offset-naive timestamp without 'assumeOffset' may produce unexpected UTC interpretation","Malformed offset string in 'assumeOffset' may cause a parsing failure","Negative or very large epoch values may not be supported by all output formats"],"whenToPreferThis":"Use this endpoint when you need to convert a single timestamp between multiple standard date/time formats at once — especially when working across HTTP, email, or ISO standards simultaneously. Prefer this over custom code or manual conversion when you need all major formats in one call, or when parsing potentially ambiguous input formats like HTTP-date or offset-naive ISO strings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:14:22.975Z","isFirstParty":false,"canonicalSlug":"dev-reference-timestamp-format-converter-92de3981"}