{"uid":"cap_6uWY3BHlDdgwIM7RvTtxt","slug":"date-difference-calculator-7d90f532","name":"Date Difference Calculator","description":"Difference between two ISO-8601 timestamps in days/seconds (date diff).","url":"https://conclavex402.pythonanywhere.com/u/date-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"days":1,"seconds":86400}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2CAOCcpoOnrgGdRQVmYM9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the difference between two ISO-8601 timestamps, returning the result in both days and seconds.","exampleAgentPrompt":"How many days and seconds are between 2024-01-15T00:00:00Z and 2024-03-22T00:00:00Z?","exampleUseCases":[{"title":"Contract deadline days remaining","prompt":"How many days are left between today, 2025-07-10T00:00:00Z, and our contract deadline on 2025-09-30T00:00:00Z?"},{"title":"Age calculation in days","prompt":"Calculate how many days old someone born on 1990-05-20T00:00:00Z is as of 2025-07-10T00:00:00Z."},{"title":"Event duration in seconds","prompt":"How many seconds elapsed between the start of an event at 2024-06-01T09:00:00Z and its end at 2024-06-01T17:45:00Z?"}],"resultDescription":"A JSON object with two fields: 'days' (integer number of days between the two timestamps) and 'seconds' (integer number of seconds between the two timestamps). Example: {\"days\": 1, \"seconds\": 86400}.","failureModes":["Invalid or malformed ISO-8601 timestamp returns a 4xx error","Missing required body fields causes a validation error","End timestamp earlier than start timestamp may return negative values or an error","Non-UTC timezone handling may cause unexpected results if offsets are not specified"],"whenToPreferThis":"Choose this endpoint when you need a simple, fast, pay-per-call computation of the difference between two ISO-8601 timestamps without setting up any local date library. Ideal for agents that occasionally need date arithmetic without maintaining dependencies or when running in environments where date libraries are unavailable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:41:25.016Z","isFirstParty":false,"canonicalSlug":"date-difference-calculator-7d90f532"}