# Поле для даты

#### class UXDatePicker (php\gui\UXDatePicker) extends UXNode

```php
use php\gui\UXDatePicker;
```

`DatePicker` - это класс компонента для выбора даты. Он предоставляет функционал для отображения календаря и выбора даты.

**Изображение компонента:**

![](https://2485351136-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlcO2dwvPsC4yi8ql6jN3%2Fuploads%2F2zEyt5EFTiBQxcXfv7xh%2Fimage.png?alt=media\&token=e7a5cedf-1871-4d61-a38b-1ab1730a9e94)

**Свойства компонента**

* **value**: \php\gui\UXDate - текущее значение выбранной даты.
* **editable**: bool - указывает, разрешено ли редактирование даты вручную.
* **visible**: bool - указывает, виден ли компонент выбора даты.
* **format**: string - формат даты для отображения и ввода (например, "dd-MM-yyyy").

**Методы**

* **show()**: отображает диалоговое окно выбора даты.
* **hide()**: скрывает диалоговое окно выбора даты.


---

# 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://fxe-documents.gitbook.io/api-docs/komponenty-uxnode/komponenty/pole-dlya-daty.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.
