# Minimum Time & Date

**URL:** <https://forum.bubble.io/t/minimum-time-date/3503>\
**Category:** Need help\
**Created:** [June 7, 2016, 5:48pm UTC](https://forum.bubble.io/t/minimum-time-date/3503 "2016-06-07T17:48:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![AliFarahat](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alifarahat/32/189604_2.png) [@AliFarahat](https://forum.bubble.io/u/AliFarahat)\
**Post date:** [June 7, 2016, 5:48pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/1 "2016-06-07T17:48:37Z")

</div>

Hello All,

Does anyone have experiance is setting up minimum date and time? For example date and time can’t be less than current date and time…

thanks

---

<div class="post-metadata">

**Author:** ![ChrisL](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chrisl/32/271_2.png) [@ChrisL](https://forum.bubble.io/u/ChrisL)\
**Post date:** [June 7, 2016, 11:53pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/2 "2016-06-07T23:53:34Z")

</div>

When you edit the Date/Time Selector there is an option to set the minimum date/time values.

---

<div class="post-metadata">

**Author:** ![AliFarahat](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alifarahat/32/189604_2.png) [@AliFarahat](https://forum.bubble.io/u/AliFarahat)\
**Post date:** [June 8, 2016, 4:18am UTC](https://forum.bubble.io/t/minimum-time-date/3503/3 "2016-06-08T04:18:26Z")

</div>

yes seen that unfortunately that only applies to the dates and does not consider the hour or minute. I know there is a field for hours but then again it takes the hours value independently and does not offer a proper minimum or max time.

@Bubble any help here to have the minimum and max time of the date/time control act like its suppose to by taking into account the date/time instead of the date only?

thanks

---

<div class="post-metadata">

**Author:** ![ChrisL](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chrisl/32/271_2.png) [@ChrisL](https://forum.bubble.io/u/ChrisL)\
**Post date:** [June 8, 2016, 10:03pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/4 "2016-06-08T22:03:23Z")

</div>

Ah I see what you mean now. You can set the Minimum Date to “Current date/time”, but when you try do the same for Minimum Hour “Current date/time” isn’t accepted. Interesting… I wonder if it’s a bug.

 ![](https://us1.discourse-cdn.com/bubble/original/2X/2/2c9a7dd76ab7bb74e91b9f55951595e9e3aef283.png)

---

<div class="post-metadata">

**Author:** ![AliFarahat](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alifarahat/32/189604_2.png) [@AliFarahat](https://forum.bubble.io/u/AliFarahat)\
**Post date:** [June 9, 2016, 12:18pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/5 "2016-06-09T12:18:53Z")

</div>

I honestly don’t know. May @emmanuel can have a quick look?

---

<div class="post-metadata">

**Author:** ![hvac\_designer](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hvac_designer/32/794_2.png) [@hvac\_designer](https://forum.bubble.io/u/hvac_designer)\
**Post date:** [June 9, 2016, 2:15pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/6 "2016-06-09T14:15:41Z")

</div>

have you tried current date/time extract: hour? Thus the condition is a combination of the date and the hour?

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 9, 2016, 2:16pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/7 "2016-06-09T14:16:36Z")

</div>

If there a bug please file a report, otherwise it’s a bit hard for me to help here.

---

<div class="post-metadata">

**Author:** ![AliFarahat](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alifarahat/32/189604_2.png) [@AliFarahat](https://forum.bubble.io/u/AliFarahat)\
**Post date:** [June 9, 2016, 3:43pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/8 "2016-06-09T15:43:48Z")

</div>

Unfortunately that does not work! The element treats date and time separately.

---

<div class="post-metadata">

**Author:** ![jonaspalmqvist](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jonaspalmqvist/32/7307_2.png) [@jonaspalmqvist](https://forum.bubble.io/u/jonaspalmqvist)\
**Post date:** [September 21, 2016, 12:05pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/9 "2016-09-21T12:05:57Z")

</div>

I’m curious why it didn’t/doesn’t work @AliFarahat? That solution works for me. I have exactly the same scenario as you.

Did you solve it eventually?

EDIT: Ok. I might have been too fast to reply. It works very well for current date, but not for tomorrow or any other day in the future. You’re then right when you say:

> Unfortunately that does not work! The element treats date and time separately.

I, myself am struggling with customising the hours format to display “current time closest to the latest quarter” for today. Any other date should show all hours available.

---

<div class="post-metadata">

**Author:** ![AliFarahat](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alifarahat/32/189604_2.png) [@AliFarahat](https://forum.bubble.io/u/AliFarahat)\
**Post date:** [September 24, 2016, 10:17am UTC](https://forum.bubble.io/t/minimum-time-date/3503/10 "2016-09-24T10:17:19Z")

</div>

Yes setting a minimum date that takes into consideration the date and time as one thing is troublesome. This is one thing that many people here don’t really grasp and makes explaining the issue a bit complex. Unfortunately instill face this problem and I have no solution.

---

<div class="post-metadata">

**Author:** ![JohnM](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@JohnM](https://forum.bubble.io/u/JohnM)\
**Post date:** [September 24, 2016, 12:23pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/11 "2016-09-24T12:23:29Z")

</div>

Hi Ali (@AliFarahat) , just to be sure, I sent a bug report on this topic 3 days ago (@emmanuel) , because the Minimum Hour is working to display the hour correctly (dynamic search), but doesn’t wrote into the database (with autobinding on). So I can see inside the database 12:00am instead of 1:00pm (or 13:00). I have to select the hour selector, and than it write the data correctly inside the db.  
Just curious if I’m doing something wrong or everyone as the same problem. My users can’t know the selection isn’t wrote to database, so they just continue the process.

![](https://us1.discourse-cdn.com/bubble/original/2X/6/67c46678032d17a92e0196bd7ec7cc27d13f329f.gif)

 ![](https://us1.discourse-cdn.com/bubble/original/2X/a/a84c354e75a68106a1f34b13fb49ac96ef2b0d6c.png)

---

<div class="post-metadata">

**Author:** ![AliFarahat](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alifarahat/32/189604_2.png) [@AliFarahat](https://forum.bubble.io/u/AliFarahat)\
**Post date:** [September 24, 2016, 10:19pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/12 "2016-09-24T22:19:20Z")

</div>

No your not. As far as I can tell the system will only engage auto bind action after the input has changed. Since the minimum hour is preloaded as per condition it does not seem to recognize when the date changes.

This is going need the help of the bubble team for sure. Again maybe I missed something maybe some else can add input to this.

---

<div class="post-metadata">

**Author:** ![shemsheru](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@shemsheru](https://forum.bubble.io/u/shemsheru)\
**Post date:** [June 20, 2021, 3:21pm UTC](https://forum.bubble.io/t/minimum-time-date/3503/13 "2021-06-20T15:21:53Z")

</div>

I had this similar problem and here is the [solution](https://www.loom.com/share/e6e3727f22c0436f8e87b7b118dda32b).

![image](https://us1.discourse-cdn.com/bubble/original/3X/1/9/19c1638c8610ff5b86aed74433c607847fd080b1.png)
