> For the complete documentation index, see [llms.txt](https://minimateapps.gitbook.io/customfield/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minimateapps.gitbook.io/customfield/how-to.../how-to-disable-past-dates-weekends-or-specific-dates-on-the-date-picker.md).

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
