# Using time and day for Opening hours

**URL:** <https://forum.adalo.com/t/using-time-and-day-for-opening-hours/1149>\
**Category:** Get Help\
**Created:** [May 5, 2020, 12:20pm UTC](https://forum.adalo.com/t/using-time-and-day-for-opening-hours/1149 "2020-05-05T12:20:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![idealabs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/idealabs/32/410_2.png) [@idealabs](https://forum.adalo.com/u/idealabs)\
**Post date:** [May 5, 2020, 12:20pm UTC](https://forum.adalo.com/t/using-time-and-day-for-opening-hours/1149/1 "2020-05-05T12:20:46Z")

</div>

Hello friends!

I´m trying to put opening hours in my app. I want to set the opening hours so when a user orders something outside the opening hours, it should be denied or choose to put the order on hold until opening.

I have checked the ordering template but it looks like the data fields are only used for displaying the opening hours and not used in a function.

I tried the date & time picker, but couldnt set only time. It is together with date. (also only PM/AM. There is an 24H clock support idea already, would be great for all of us in EU)

Looking for a way to have different opening hours on different week days, connected to functions.

Any ideas how this can be done?

Thanks!

---

<div class="post-metadata">

**Author:** ![alexanderjason](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/alexanderjason/32/581_2.png) [@alexanderjason](https://forum.adalo.com/u/alexanderjason)\
**Post date:** [May 5, 2020, 1:02pm UTC](https://forum.adalo.com/t/using-time-and-day-for-opening-hours/1149/2 "2020-05-05T13:02:07Z")

</div>

this is one of my biggest frustrations, the only solution is to be able to set the time alone, other than that, maybe set the closing date far in the future (2099) till there is a more effective solution. that should solve it temporarily, but doesn’t make sense.

I’d also appreciate a different method.  
Thanks!!!

---

<div class="post-metadata">

**Author:** ![stffnc1974](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@stffnc1974](https://forum.adalo.com/u/stffnc1974)\
**Post date:** [June 16, 2020, 3:11pm UTC](https://forum.adalo.com/t/using-time-and-day-for-opening-hours/1149/3 "2020-06-16T15:11:22Z")

</div>

Hi, I have your same problem. But did you manage to solve in any way?

Any help would be appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![idealabs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/idealabs/32/410_2.png) [@idealabs](https://forum.adalo.com/u/idealabs)\
**Post date:** [June 16, 2020, 6:35pm UTC](https://forum.adalo.com/t/using-time-and-day-for-opening-hours/1149/4 "2020-06-16T18:35:53Z")

</div>

Hi, not yet solved. I will try some more with a work around.

---

<div class="post-metadata">

**Author:** ![projectlinuxsupports](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/projectlinuxsupports/32/1023_2.png) [@projectlinuxsupports](https://forum.adalo.com/u/projectlinuxsupports)\
**Post date:** [June 17, 2020, 2:58am UTC](https://forum.adalo.com/t/using-time-and-day-for-opening-hours/1149/5 "2020-06-17T02:58:26Z")

</div>

I think this is currently in plan : [Additional Database Property Types | Voters | Adalo](https://ideas.adalo.com/feature-requests/p/additional-database-property-types)

A property of time only without date.

---

<div class="post-metadata">

**Author:** ![karimoo](https://avatars.discourse-cdn.com/v4/letter/k/ad7895/32.png) [@karimoo](https://forum.adalo.com/u/karimoo)\
**Post date:** [July 6, 2020, 6:37pm UTC](https://forum.adalo.com/t/using-time-and-day-for-opening-hours/1149/6 "2020-07-06T18:37:49Z")

</div>

Maybe this thread can help: [Activate the purchasing services according to the opening hours: morning and afternoon](https://forum.adalo.com/t/activate-the-purchasing-services-according-to-the-opening-hours-morning-and-afternoon/1958)
