# Dynamic Choice for dates

**URL:** <https://community.glideapps.com/t/dynamic-choice-for-dates/79494>\
**Category:** Ask for Help\
**Created:** [January 24, 2025, 8:33pm UTC](https://community.glideapps.com/t/dynamic-choice-for-dates/79494 "2025-01-24T20:33:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammad\_Iqbal1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/muhammad_iqbal1/32/38548_2.png) [@Muhammad\_Iqbal1](https://community.glideapps.com/u/Muhammad_Iqbal1)\
**Post date:** [January 24, 2025, 8:33pm UTC](https://community.glideapps.com/t/dynamic-choice-for-dates/79494/1 "2025-01-24T20:33:58Z")

</div>

Hi, I need to create a dynamic selection for dates, allowing users to choose from today, H+1, or H+2. How can I implement this? Thank you!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 25, 2025, 2:00am UTC](https://community.glideapps.com/t/dynamic-choice-for-dates/79494/2 "2025-01-25T02:00:58Z")

</div>

- Create a table to hold your choices.
- Add an “index” column, add 3 rows and have the values being 0, 1, 2.
- Create a Math column, with the formula being `N + I` with N being Now, and I being the Index column.
- Choose the format you want for the outcome of Math column, and add a template column, pointing to the Math column to lock that format in (otherwise your choice value will be in Zulu format).
- Use the template as the source of your choice component.

---

<div class="post-metadata">

**Author:** ![Muhammad\_Iqbal1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/muhammad_iqbal1/32/38548_2.png) [@Muhammad\_Iqbal1](https://community.glideapps.com/u/Muhammad_Iqbal1)\
**Post date:** [January 27, 2025, 4:47am UTC](https://community.glideapps.com/t/dynamic-choice-for-dates/79494/3 "2025-01-27T04:47:57Z")

</div>

Thank you for your solution

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [February 3, 2025, 6:04am UTC](https://community.glideapps.com/t/dynamic-choice-for-dates/79494/5 "2025-02-03T06:04:38Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
