# Date Time Picker peculiarities

**URL:** <https://forum.bubble.io/t/date-time-picker-peculiarities/331411>\
**Category:** Need help\
**Created:** [July 17, 2024, 8:10am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411 "2024-07-17T08:10:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![micknoosa](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/micknoosa/32/219419_2.png) [@micknoosa](https://forum.bubble.io/u/micknoosa)\
**Post date:** [July 17, 2024, 8:10am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/1 "2024-07-17T08:10:47Z")

</div>

The date time picker has me bamboozled…  
I have the following limitations I’d like to place on selection:

Time slots can’t be selected more than a week ahead (all works), but opening hours are 0800 to 1130… this just doesn’t seem to work when entered into min / max hour?  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/4/c496c4c0d099afa45225a9fa5f976898b01a839a.png)

on the page:  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/9/d9f70e2a14b42ceddbd8fade566ce0572797a794.png)  
(good)

but time selection:  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/1/b/1b7f75f514a93c4754e540aa11394d2a28757727.png)

help me to avoid going bald?

I feel like it has somehting to do with the current hour already being ahead of those selected? But I would then think that when I chose the next day that would reset the hours to allow 0800 to 1130

---

<div class="post-metadata">

**Author:** ![geesonofgee](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/geesonofgee/32/222432_2.png) [@geesonofgee](https://forum.bubble.io/u/geesonofgee)\
**Post date:** [July 17, 2024, 9:20am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/2 "2024-07-17T09:20:32Z")

</div>

Hy @micknoosa,  
My opinion, I think it’s better you have two date pickers x & y (Initial and final) something like this;  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/d/bdc1abfc6e8d2c202320e15e9dda449a9c592aad.png)

You’ll make the final reference the initial date and time picker value, something like;

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/e/3/e36decfe73f8acd1573e5432fc7c6d27375e8cc0.png)  
for initial and final like;  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/1/7/171e81c3e93c8d6d7fc9116a28062164cd833f25.png)  
so that your final design will be like;  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/4/f46444c2be21a5eca8aa650817846bc5ad84ad58.png)

Hope it’s clear Enough 🙂

---

<div class="post-metadata">

**Author:** ![Baloshi69](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/baloshi69/32/136122_2.png) [@Baloshi69](https://forum.bubble.io/u/Baloshi69)\
**Post date:** [July 17, 2024, 9:27am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/3 "2024-07-17T09:27:50Z")

</div>

bro, you can only add hours in the format of 24h, cant do 1130 as not work, you can try 11.5

\*\*

- Another issue i found on setting the `minimum date` and `maximum date` is you are usieng `current date/time` → this will alwasy start form the time user is on it will make things bad in future.
- what i suggest is round down to date then plus 7 days `current date/time round down (day) + days7` → this way it start from the today begging excluding the hours if there any. it will be much helpfull  
\*\*

if you need more help do ping, i love helping out or getting correclty my self.

---

<div class="post-metadata">

**Author:** ![micknoosa](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/micknoosa/32/219419_2.png) [@micknoosa](https://forum.bubble.io/u/micknoosa)\
**Post date:** [July 17, 2024, 10:26am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/4 "2024-07-17T10:26:16Z")

</div>

Thanks 11.5 works!

I think i understand the maximum date issue, thasnk for that!

On an aside: I am having issues trying to enter “figures” into expressions . like the number in +days 7 or particularly starting an expression with brackets etc…

Is there a keyboard trick I’m missing? - i mean there MUST be!

---

<div class="post-metadata">

**Author:** ![Baloshi69](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/baloshi69/32/136122_2.png) [@Baloshi69](https://forum.bubble.io/u/Baloshi69)\
**Post date:** [July 17, 2024, 10:29am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/5 "2024-07-17T10:29:11Z")

</div>

yah it does some time, make sure you are entering the `7` right after the `+days` now later that expression.

when you click `+days` if open a small input place type it there not after it. if you still can’t do it. dm me and i will help you in a call.

---

<div class="post-metadata">

**Author:** ![micknoosa](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/micknoosa/32/219419_2.png) [@micknoosa](https://forum.bubble.io/u/micknoosa)\
**Post date:** [July 17, 2024, 10:33am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/6 "2024-07-17T10:33:58Z")

</div>

thanks but it doesnt suit my case

---

<div class="post-metadata">

**Author:** ![micknoosa](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/micknoosa/32/219419_2.png) [@micknoosa](https://forum.bubble.io/u/micknoosa)\
**Post date:** [July 17, 2024, 10:34am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/7 "2024-07-17T10:34:44Z")

</div>

sure im trying to emulate this but cannot get it to accept an open bracket as the first text

> [@Current time as minimum time for Date/time picker](https://forum.bubble.io/t/current-time-as-minimum-time-for-date-time-picker/241691/6):
>
> You can replace “newTime” in my screenshot with Current date/time in your implementation: [image] So the initial content is set to the current date/time and the minimum date is today. Then the conditional says if they selected today in the date picker, we should set the minimum hour. If it’s later than today, they can select any hour. Since we can’t set the minimum minutes, extract the current minutes and divide by 60 minutes to get the decimal hour, extract the current hour, add t…

---

<div class="post-metadata">

**Author:** ![Baloshi69](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/baloshi69/32/136122_2.png) [@Baloshi69](https://forum.bubble.io/u/Baloshi69)\
**Post date:** [July 17, 2024, 10:41am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/8 "2024-07-17T10:41:06Z")

</div>

DM me a meet link let me help you

---

<div class="post-metadata">

**Author:** ![micknoosa](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/micknoosa/32/219419_2.png) [@micknoosa](https://forum.bubble.io/u/micknoosa)\
**Post date:** [July 17, 2024, 10:50am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/9 "2024-07-17T10:50:44Z")

</div>

sorry out of time today, thanks for offer

---

<div class="post-metadata">

**Author:** ![micknoosa](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/micknoosa/32/219419_2.png) [@micknoosa](https://forum.bubble.io/u/micknoosa)\
**Post date:** [July 17, 2024, 10:51am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/10 "2024-07-17T10:51:31Z")

</div>

ive used the number then a decimal previously to stop[ the auto search…but cant get a bracket anyway!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 25, 2024, 8:11am UTC](https://forum.bubble.io/t/date-time-picker-peculiarities/331411/11 "2024-09-25T08:11:47Z")

</div>

Closed on September 25, 2024, 8:11am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
