# Add

Add a time interval to a date.

<table data-header-hidden><thead><tr><th width="290.06671142578125" valign="top"></th><th width="321.33331298828125" valign="top"></th></tr></thead><tbody><tr><td valign="top">Date</td><td valign="top">[Date and time] The date and time to which a time interval needs to be added.</td></tr><tr><td valign="top">Year</td><td valign="top">[Number] The number of years to add.</td></tr><tr><td valign="top">Month</td><td valign="top">[Number] The number of months to add.</td></tr><tr><td valign="top">Day</td><td valign="top">[Number] The number of days to add.</td></tr><tr><td valign="top">Hour</td><td valign="top">[Number] The number of hours to add.</td></tr><tr><td valign="top">Minutes</td><td valign="top">[Number] The number of minutes to add.</td></tr><tr><td valign="top">Seconds</td><td valign="top">[Number] The number of seconds to add.</td></tr><tr><td valign="top">Milliseconds</td><td valign="top">[Number] The number of milliseconds to add.</td></tr><tr><td valign="top">Result</td><td valign="top">[Date and time] Returns the resulting date and time.</td></tr><tr><td valign="top">Error handling level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message level</td><td valign="top"><p>Select the message level that blocks will output during execution. Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - outputs main information;</li><li>"Detailed" - outputs detailed information.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block.</td></tr></tbody></table>


---

# 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.sherparpa.ru/en/sherpa-rpa/sherpa-designer/spravochnik-blokov/data-i-vremya-datetime/slozhit-datetimeadd.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.
