{"uid":"cap_lIF4asSgPVokFI1tUDu1W","slug":"work-time-calc-tenure-anniversary-calculator-953353a9","name":"Work Time Calc – Tenure & Anniversary Calculator","description":"Age or tenure between two dates in years, months and days, plus total days, next anniversary and decimal years.","url":"https://work-time-calc.x402tookit.com/tenure?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":["from"],"properties":{"to":{"type":"string","description":"End date YYYY-MM-DD (default today UTC), not before from"},"from":{"type":"string","description":"Start date (birth or hire date) YYYY-MM-DD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"days":{"type":["null","number"]},"years":{"type":["null","number"]},"months":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"totalDays":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"totalMonths":{"type":["null","number"]},"decimalYears":{"type":["null","number"]},"nextAnniversary":{"type":["null","string"]},"daysToNextAnniversary":{"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_TdeHByexOgXbDK7Tzjv3j","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":"Calculates age or employment tenure between two dates, returning years/months/days breakdown, total days, decimal years, and next anniversary date.","exampleAgentPrompt":"How long has Sarah been with the company? She was hired on 2019-03-15 — give me her tenure in years, months, and days, and tell me when her next work anniversary is.","exampleUseCases":[{"title":"Employee tenure check for HR review","prompt":"I need to know how long Marcus has been employed — his hire date was 2017-06-01. Give me his tenure in years, months, and days as of today, and when his next work anniversary falls."},{"title":"Age calculation for benefits eligibility","prompt":"Can you calculate how old someone born on 1985-11-22 is today in years, months, and days, and give me the decimal years too?"},{"title":"Vesting milestone tracking for a specific date","prompt":"An employee started on 2020-04-10 and we want to check their tenure as of 2025-04-10. What's the full breakdown in years, months, days, and when is their next anniversary after that?"}],"resultDescription":"Returns a structured object including: integer years, months, and days of tenure; total calendar days elapsed; total months; decimal years (e.g. 5.42); the date of the next anniversary; days until that anniversary; and a human-readable summary string. May include a disclaimer and degraded flag if input edge cases apply.","failureModes":["Missing required 'from' query parameter returns an error","End date before start date ('to' earlier than 'from') returns a validation error","Malformed date format (not YYYY-MM-DD) causes a parse error","Future start dates may produce unexpected or zero results","Payment failure (x402) returns 402 status before computation"],"whenToPreferThis":"Choose this endpoint when you need a precise human-readable breakdown of duration between two dates — specifically for HR/employment tenure or age calculations — including next anniversary detection and decimal years. Prefer over generic date-diff tools when you need the anniversary date and full years/months/days decomposition in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:18:53.555Z","isFirstParty":false,"canonicalSlug":"work-time-calc-tenure-anniversary-calculator-953353a9"}