# Campo Fecha

### Tipo de widget

En el esquema se representa como

> "widget\_type": "DATE\_FIELD"

### Lectura

A la hora de leer este tipo de widget, obtenemos un valor de tipo string que representa una fecha, sin horas, ni minutos, ni segundos. No importa si estoy en Argentina, Mexico o Ecuador, la fecha indicada en el ejemplo representa el día 7 de Abril de 2022.

```json
{
    ...
    "FW9ilaip": "2022-04-07T00:00:00.000Z",
    ...
}
```

### Escritura

Cuando insertamos o modificamos un formulario, en el field correspondiente a este widget, debemos colocar un string que represente una fecha como se indica arriba . En caso de enviar horas, minutos, segundos o milisegundos, serán ignorados

```json
{
    ...
    "FW9ilaip": "2022-04-07T00:00:00.000Z",
    ...
}
```


---

# 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.api.persat.com.ar/modulos/formularios-digitales/tipos-de-widgets/campo-fecha.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.
