# Lordevo Date Calculator

> Lordevo Date Calculator is a paid API for AI agents from shop.lordevo.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Performs offline date arithmetic: adds/subtracts durations (ISO 8601 or plain text, including business days), and computes the difference between two dates in multiple units.

## Facts

- Endpoint: GET https://shop.lordevo.com/api/quick/date-calc?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lordevo-date-calculator-126bfa77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7ptQFacTK7p1e1umipOS6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lordevo-date-calculator-126bfa77
```

Example prompt: What date is 45 business days from 2025-03-01, skipping Saturdays and Sundays, and also skipping the holidays 2025-04-18 and 2025-05-26? Show the result in UTC.

## When to prefer this

Choose this endpoint when you need offline, deterministic date arithmetic with support for business-day calculations, custom weekends, and holiday exclusions. It is especially useful when you need results in multiple formats simultaneously (days, weeks, years/months/days) or when you need rich date metadata (weekday, quarter, ISO week) alongside the calculation. Prefer it over general-purpose date libraries when operating within an agent pipeline that requires an API call and cannot execute local code.

## Known failure modes

- Missing required 'date' parameter returns an error
- Unrecognized duration format in 'add' or 'subtract' causes a parse error
- Invalid IANA timezone string causes a timezone resolution error
- 'holidays' string exceeding 5000 characters or 400 dates may be rejected
- Invalid date string format returns a parsing failure
- Ambiguous duration abbreviations (e.g. 'm' for minutes vs months) may be misinterpreted

## How this service works

Date calculator: add durations, business days, difference between dates: Date arithmetic offline: adds or subtracts durations (ISO 8601 or plain text, including business days with your weekend and holiday list), and gives the difference to a second date in calendar days, weeks, years/months/days and

## Output

A JSON object containing: the resolved start date and its metadata (weekday, ISO week, quarter, day of year, leap year flag, business day flag, unix seconds, UTC datetime), the computed result date (after adding/subtracting durations) with the same metadata, and—if an 'until' date is provided—the difference between the start and second date expressed in calendar days, weeks, years/months/days, and business days. May also include notes about edge cases.

## Request schema (JSON Schema)

```json
{
 "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": [
      "date"
     ],
     "properties": {
      "tz": {
       "type": "string",
       "description": "IANA time zone for today/now and local times (default UTC)"
      },
      "add": {
       "type": "string",
       "description": "Duration to add: ISO 8601 (P1M2D, PT4H) or text (3 days, -2 weeks, 10 business days, 4h 30m; m = minutes, mo = months)"
      },
      "date": {
       "type": "string",
       "description": "Date: YYYY-MM-DD, ISO 8601 date-time (2026-11-01T09:30, optional Z or +08:00), Unix seconds, today or now"
      },
      "until": {
       "type": "string",
       "description": "Second date: returns the difference in days, weeks, years/months/days and business days"
      },
      "weekend": {
       "type": "string",
       "description": "Weekend days for business-day math, e.g. sat,sun (default), fri,sat, sun or none"
      },
      "holidays": {
       "type": "string",
       "maxLength": 5000,
       "description": "Dates to skip as holidays in business-day math: up to 400 YYYY-MM-DD, comma-separated"
      },
      "subtract": {
       "type": "string",
       "description": "Duration to subtract (same formats as add)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "tool",
      "timezone",
      "start"
     ],
     "properties": {
      "tool": {
       "type": "string"
      },
      "input": {
       "type": "object"
      },
      "notes": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "start": {
       "type": "object",
       "properties": {
        "utc": {
         "type": [
          "string",
          "null"
         ]
        },
        "date": {
         "type": "string"
        },
        "quarter": {
         "type": "integer"
        },
        "weekday": {
         "type": "string"
        },
        "datetime": {
         "t
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lordevo-date-calculator-126bfa77/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shop.lordevo.com](https://www.zero.xyz/host/shop.lordevo.com/llms.txt)
