Skip to main content
Glama

Kitbench

Days Between Two Dates

days_between
Read-onlyIdempotent

Count the days between two dates: total days (optionally including the start day), weeks and days, years/months/days, Japanese business days (excluding weekends and Japanese national holidays from the Cabinet Office list) and weekdays (Mon-Fri). Exact calendar arithmetic, no time zones. Dates 1873-01-01 to 2200-12-31.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoLanguage of the user. Use "ja" when the user writes in Japanese (affects the source link and notes). Default "en".
end_dateYesDate in YYYY-MM-DD (1873-01-01 to 2200-12-31)
start_dateYesDate in YYYY-MM-DD (1873-01-01 to 2200-12-31)
include_start_dayNoCount the start day too (e.g. 2026-01-01 to 2026-01-01 = 1 day). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources