> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-it/regole-modifica-in-blocco-e-arricchisci/how-to-use-conditions-if-in-rules/rule-conditions-dates.md).

# Seleziona gli articoli per fecha

Usa le date attuali o importate Para selezionare gli Ítems en una Regla.

Usa le condizioni sulla fecha per applicare un'azione in un momento specifico o durante un intervallo di fecha.

### Usa la fecha actual

L'interno `current_date` Il campo è sempre disponibile. Usalo per confrontare la fecha y hora Actual con un valore fisso.

Usar **`es igual a`** per una data esatta, un mese, un giorno della settimana, un giorno del mese o un orario.

usar **`es durante o después`** y **`es antes`** Para impostare un intervallo di fecha:

* **SE** `current_date` **`es durante o después`** Una data di inizio seleziona gli articoli a partire da quella fecha.
* **E** `current_date` **`es antes`** una data di fine interrompe la selezione prima di quella data.

Questa configurazione include la data di inizio ed esclude la data di fine.

### Usa i campi data importati

Usa un [Campo di data](https://helpcenter.channable.com/get-started/get-started-space-it/per-iniziare/campi-en-channable/tipi-de-campi-en-channable.md) per confrontare la data di ogni ítem con un valore fisso o relativo.

Usa **`es igual a`** per trovare una data, un mes, un giorno della settimana, un giorno del mes o un tiempo Exacto. Puoi anche trovare valori relativi, come `ayer`, `mañana`, o un Numero di días nel passato o nel futuro.

Usar **`es durante o después`** y **`Es antes`** con valori di fecha fissi o in formato relativo per selezionare un intervallo di fecha.

***

### Esempio di utilizzo della condizione sulla data

Usa le condizioni sulla fecha per gestire le modifiche programmate degli ítem:

* **Pianifica una vendita:** Selecciona le condizioni **`es durante o después`** y **`es antes`**, causa usar  **`Imposta valore`**  come azione Para impostare un prezzo scontato durante il periodo promozionale.
* **Prepara una promozione imminente:** Selecciona la condizione **`es igual a`**, causa usa l'azione **`Set value`** per impostare uno stato di vendita per gli articoli il cui campo `sale_start` importato è uguale a `mañana`.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-it/regole-modifica-in-blocco-e-arricchisci/how-to-use-conditions-if-in-rules/rule-conditions-dates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
