{"uid":"cap_tj1dEbiBnQOywtGZ54OeL","slug":"date-calculator-9d50c748","name":"Date Calculator","description":"Add or subtract days and months from a date and return the result with weekday, day-of-year and ISO week. Pure CPU, instant.","url":"https://api.gadgethumans.com/date-calc?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["date"],"properties":{"date":{"type":"string","description":"Start date (default today)"},"days":{"type":"integer","description":"Days to add or subtract"},"months":{"type":"integer","description":"Months to add or subtract"}}}}},"output":{"type":"object","properties":{"example":{"ok":true}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q0cJTPr2ZaCzYyGi5B6CN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Adds or subtracts days and months from a given date and returns the result with weekday name, day-of-year, and ISO week number.","exampleAgentPrompt":"What date will it be 45 days and 2 months from March 15 2025, and what weekday does it land on?","exampleUseCases":[{"title":"Project deadline calculation","prompt":"Our contract starts on June 1 2025 — what date is exactly 90 days after that, and what day of the week does it fall on?"},{"title":"Subscription renewal reminder","prompt":"If a subscription started on January 10 2025 and renews every 3 months, what date is the next renewal and what ISO week is that?"},{"title":"Countdown to event date","prompt":"I need to know what day of the week July 4 2026 falls on and what day-of-year number it is — can you calculate that from today?"}],"resultDescription":"A JSON object containing the computed result date, the full weekday name (e.g. Wednesday), the day-of-year number (1–366), and the ISO week number (1–53).","failureModes":["Invalid date format returns an error response","Missing required 'date' parameter causes a 400-level error","Extreme offsets (e.g. thousands of years) may produce unexpected results","Non-integer values for days or months fields will likely cause validation errors"],"whenToPreferThis":"Choose this endpoint when you need fast, pure-computation date arithmetic with enriched calendar metadata (weekday, day-of-year, ISO week) in a single call. It is ideal for scheduling logic, deadline calculation, subscription renewal tracking, or any workflow that needs to offset a date by days and/or months without hitting a full calendar API. Prefer it over general-purpose date libraries when you need a lightweight hosted micro-API with no state or authentication overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:51:22.742Z","isFirstParty":false,"canonicalSlug":"date-calculator-9d50c748"}