> For the complete documentation index, see [llms.txt](https://api-docs.rightsline.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.rightsline.com/date-math/date-math-overview.md).

# Overview

Date Math™ is a complex and powerful tool. It allows you to calculate and create relationships between dates in the Rightsline system. Contact your Rightsline representative for a detailed walkthrough or further information.

### Endpoints

| Method | Endpoint                            | Description                                             |
| ------ | ----------------------------------- | ------------------------------------------------------- |
| POST   | /v4/date-math                       | [Create date math.](/date-math/datemath-create.md)      |
| GET    | /v4/:entityType/:entityID/date-math | [Retrieve date math.](/date-math/date-math-retrieve.md) |
| PUT    | /v4/date-math                       | [Update date math.](/date-math/update-date-math.md)     |
| DELETE | /v4/date-math/:id                   | [Delete date math.](/date-math/delete-date-math.md)     |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.rightsline.com/date-math/date-math-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
