> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/flow/tutorials/components/date-time-picker.md).

# Date Time Picker

Tutorials for the Date Time Picker in Screen Flows, from blocking booked times and working hours to a complete appointment booking flow.

The Date Time Picker lets the person running a Screen Flow pick an open time slot, such as a new customer choosing a 30-minute onboarding call with an account manager. These tutorials build that booking flow step by step, on one shared example week.

{% hint style="info" %}
New to the component? Start with [Block out booked times from Events](/flow/tutorials/components/date-time-picker/how-to-block-out-times.md): every other tutorial reuses its busy times. The [Date Time Picker](/flow/flow-components/date-time-picker.md) reference page lists every property.
{% endhint %}

## Set up availability

Decide which slots the picker offers before anyone books one.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Block out booked times from Events</strong></td><td>Read an account manager's Salesforce Events and grey out those times in the Date Time Picker, so nobody books a slot that is already taken.</td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FGfP4H3mWx4id66sfzvaB%2Fdate-time-picker-card-how-to-block-out-times.png?alt=media">date-time-picker-card-how-to-block-out-times.png</a></td><td><a href="/flow/tutorials/components/date-time-picker/how-to-block-out-times.md">Block out booked times from Events</a></td></tr><tr><td><strong>Offer only working hours</strong></td><td>Limit the Date Time Picker to 30-minute slots from 9:00 to 17:00, Monday to Friday, so customers never pick a call outside your working hours.</td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FNHEgFgyth9TfUxJGmcuo%2Fdate-time-picker-card-offer-only-working-hours.png?alt=media">date-time-picker-card-offer-only-working-hours.png</a></td><td><a href="/flow/tutorials/components/date-time-picker/offer-only-working-hours.md">Offer only working hours</a></td></tr></tbody></table>

## Build the booking

Turn the selected slot into a Salesforce Event.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Build an appointment booking flow</strong></td><td>Build a Screen Flow where a new customer picks a free 30-minute slot and the flow creates the onboarding call as a Salesforce Event.</td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FcvKNkgaF5NGeXN5gHfbI%2Fdate-time-picker-card-build-an-appointment-booking-flow.png?alt=media">date-time-picker-card-build-an-appointment-booking-flow.png</a></td><td><a href="/flow/tutorials/components/date-time-picker/build-an-appointment-booking-flow.md">Build an appointment booking flow</a></td></tr><tr><td><strong>Book several time slots at once</strong></td><td>Let a customer pick several 30-minute slots in one Date Time Picker and create one Salesforce Event per slot with a Loop and a single Create Records.</td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2F7ALyPY1lWEALQlkZFXIz%2Fdate-time-picker-card-book-several-time-slots-at-once.png?alt=media">date-time-picker-card-book-several-time-slots-at-once.png</a></td><td><a href="/flow/tutorials/components/date-time-picker/book-several-time-slots-at-once.md">Book several time slots at once</a></td></tr></tbody></table>

## Fine-tune the display

Match the picker to the way your users read dates and times.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Format dates and time zones</strong></td><td>Show dates, weekdays and slot times the way your users read them, with a 12-hour or 24-hour clock, the right first day of the week and the time zone.</td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2Fgbgp65Gjk20PtlQwSZ6t%2Fdate-time-picker-card-format-dates-and-time-zones.png?alt=media">date-time-picker-card-format-dates-and-time-zones.png</a></td><td><a href="/flow/tutorials/components/date-time-picker/format-dates-and-time-zones.md">Format dates and time zones</a></td></tr></tbody></table>


---

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/flow/tutorials/components/date-time-picker.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
