# Date/time picker

## About the field

{% hint style="info" %}
The date/time picker (e.g [ACF DatePicker](https://wplake.org/blog/acf-date-picker/)) is a field type that provides a calendar-based interface for editors to choose a date and time, as opposed to a simple text input.
{% endhint %}

There are various date and time formats, such as European (e.g., dd/mm/yyyy) or US (e.g., mm/dd/yyyy), as well as options for displaying time in either 12-hour or 24-hour formats.&#x20;

By default, Advanced Views displays the date in the format you've set up in the field settings, either as the 'Return' or 'Save' format.

## Date manipulations

With the Twig date filters, you can compare dates, change the display format, and make value modifications such as adding or removing periods. For more information, please refer to the [Twig templates manual](https://docs.advanced-views.com/templates/twig-templates#dates).

{% hint style="info" %}
Tip: We recommend using the '`.timestamp`' property of the date field when applying any date filters. This will save you from dealing with date parsing issues. \
\
For example, both US (e.g., mm/dd/yyyy) and European (e.g., dd/mm/yyyy) formats use the same delimiter, but the European format will be ignored in favor of the US format."
{% endhint %}

## Multilingual dates &#x20;

By default, PHP displays date-related symbols (such as 'a.m.') in English. Advanced Views utilizes the '[date\_i18n](https://developer.wordpress.org/reference/functions/date_i18n/)' WordPress function, which supports multiple languages, so you don't need to concern yourself with translating date-related symbols.


---

# 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://wplake.gitbook.io/advanced-views/display-content/meta-fields/advanced-fields/date-time-picker.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.
