# Date Calculator

**Introduction**&#x20;

This step performs date calculations, such as adding or subtracting time units from a specified date.

**Description**&#x20;

Allows adding or subtracting days, hours, minutes, and other time units to or from a given date, adjusting according to a specified time zone.

**Configuration**

1. **Date**: Set the initial date for the calculation. This is a required field.
2. **Time Zone**: Choose the time zone for the date calculation. This is required to ensure accurate time adjustments.
3. **Operations**: Define the operations to be performed on the date. Each operation must include:
   * **Type**: Choose "Add" or "Subtract".
   * **Unit**: Select the unit of time (e.g., years, months, days, hours).
   * **Amount**: Specify the amount of the chosen unit to add or subtract. You can specify up to 20 operations.

**Outputs**

* **Result**: The resulting date after all calculations are applied.

**Usage**&#x20;

Useful for scenarios requiring dynamic date manipulations, such as scheduling future events or calculating deadlines.


---

# Agent Instructions: 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://docs.flexy.bot/modules/core/steps/date-calculator.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.
