# How to disable past dates , weekends, or specific dates on the Date Picker?

A **Date Picker** field allows customers to select a date from a calendar on the product page instead of typing it manually.

Within Datepicker Field, we offer three different format under the Datepicker Settings:

* Date 🗓️
* Time 🕑
* Date and Time 🗓️, 🕑

&#x20;You can use a Date Picker when you need customers to choose:

* A delivery date
* An appointment or booking date
* An event or workshop date
* A preferred production or shipping date

{% hint style="info" %}
If you need more control (date limits, disabled days, cutoff rules), you can enable **Advanced Date Picker**.
{% endhint %}

* **Date (Basic):** Simple date selection with no restrictions
* **Advanced Date Picker:** Full control over date rules, formatting, and availability

**Advanced Date Picker** is a customizable calendar field that gives you full control over:

* Date format
* Selectable days
* Minimum selectable dates
* Cutoff time rules
* Disabled weekdays and specific dates

It’s ideal for delivery dates, booking dates, appointments, and pre-orders.

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

<br>


---

# 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://minimateapps.gitbook.io/customfield/how-to.../how-to-disable-past-dates-weekends-or-specific-dates-on-the-date-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.
