ISO date observed shift

iso-date-observed-shift · version 1.0.0 · Dates & times (UTC, ISO 8601) · free, no key needed

Shift a date forward or backward until it lands on a day that is neither a weekend nor a caller-supplied holiday.

Use when you need to: iso date observed shift · holiday observed date · move holiday off weekend.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "date": "2026-09-19",
  "weekend_days": [
    6,
    7
  ],
  "holidays": [],
  "direction": "forward"
}

Response:

{
  "result": {
    "date": "2026-09-21"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "iso-date-observed-shift",
  "version": "1.0.0",
  "input": {
    "date": "2026-09-19",
    "weekend_days": [
      6,
      7
    ],
    "holidays": [],
    "direction": "forward"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/iso-date-observed-shift/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"date":"2026-09-19","weekend_days":[6,7],"holidays":[],"direction":"forward"}'

The machine-readable contract is at /v1/tools/iso-date-observed-shift/versions/1.0.0.

CLI

node cli.mjs run iso-date-observed-shift 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.