# Pravidlo pro úpravu datumu (např. datum dostupnosti)

Nejprve zvolte Export - > Editace (viz předchozí příklad)

Dále přejděte na Pravidla -> Nové pravidlo a vyberte **Upravit element**

<figure><img src="/files/N3Naa67dRel8Y9NE3QbV" alt="" width="299"><figcaption></figcaption></figure>

Vyberete element, do kterého chcete zapsat výsledné datum&#x20;

Typ obsahu vyberete "Datum"&#x20;

Nyní je třeba vybrat "Nahradit obsah"&#x20;

Napíšete "today" (jako dnešní den, ke kterému se budou přičítat dny)&#x20;

Pro přidání dnu do datumu se použije formát "+ XXX days" kde XXX může být přesný počet dní např. "10" . Z původní hodnoty 10 se stane datum dnes + 10 dní.

Druhá možnost je použít proměnnou, která v sobě nese počet dní&#x20;

<figure><img src="/files/AaxfmE1sXpDkeAj3j7Aa" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/hKWaDQKybebBWd4BdnrB" alt=""><figcaption></figcaption></figure>


---

# 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://napoveda.conviu.cz/modul-uprava-dat-xml-a-csv/export-dat/uprava-datumu-napr.-datum-dostupnosti.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.
