> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yayextra/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yayextra/how-it-works/option-types/time-picker-option-with-conditional-logic.md).

# Time Picker Option (with Conditional Logic)

The GIF example below shows how we selected the **Time Picker Option,** named it **Delivery Time**

We can also add **Class** (for CSS purposes) and make other settings in the **Advanced Settings** tab and **Conditional Logics** tab.

<figure><img src="https://1017190968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj2smJJDNU4M9yRHtLZ9O%2Fuploads%2FXvSViWRFgBQxpCwH3sln%2FYayExtra_How%20to%20add%20Time%20picker%20option.gif?alt=media&amp;token=eaff4ff9-a2bd-46a5-82db-bd064e5adb32" alt=""><figcaption></figcaption></figure>

**Conditional Logic**

In this **Time Picker Option** example, we set a conditional logic that would only make the **Delivery Time** become visible on the product page if the **Delivery Date** is interacted with and a date is selected within a **specified date** on the calendar **( 26th - 31st ).**

<figure><img src="https://1017190968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj2smJJDNU4M9yRHtLZ9O%2Fuploads%2FN1cEdmSTDRIRFvhCi6pX%2FYayExtra_How%20the%20Display%20condition%20set%20for%20Time%20picker%20works.gif?alt=media&amp;token=2cc5a214-e281-4ed0-847f-4d6ace343418" alt=""><figcaption><p>A GIF image showing how the Time Picker Option's condition shows in the frontend.</p></figcaption></figure>
