---
title: "Date Difference Calculator"
method: GET
path: "/api/calc/date-difference-calculator"
tags: ["DateTime"]
---

# Date Difference Calculator

`GET /api/calc/date-difference-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/date-difference-calculator`
- Auth: none declared

Days between two dates, also shown in weeks, months and years, with weekday and weekend counts. Choose whether to include the end date for event lengths.

## Query parameters

- `start` string, date: Start date (YYYY-MM-DD)
- `end` string, date: End date Leave empty to use today's date. (YYYY-MM-DD)
- `includeEnd` 'no' | 'yes': Include the end date?

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
