Business-day calculator: add or count working days, skipping weekends and public holidays (KR, US, GB, DE, FR, JP)
time_business_daysUse when computing due dates, SLAs, settlement or delivery dates. Input: start date, then days (add -260..260 business days) or end (count business days between), optional country KR, US, GB, DE, FR or JP for public holidays (omit = weekends only). Output: JSON result date or business/calendar day counts, holidays skipped on the way, holiday scope. Example: ?start=2026-12-22&days=5&country=US Price: $0.003 USDC (Base or Solana) via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Count business days from start (excluded) to end (included), at most 2 years apart; ignored when days is given | |
| days | No | Business days to add (negative = go back); give days or end (days wins if both) | |
| start | Yes | Start date YYYY-MM-DD (2004–2099) | |
| country | No | Public holiday calendar (omit for weekends only) |