cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dries
Level: Powered On

Make condition they can submit an item only before 9:00am

Hi

 

I want to create a app so users can submit a meal for a certain date. I want to make a rule that they can only submit a meal until the day of the meal (before 9:00 pm).

So they can submit a meal for tomorrow, but they mus also be able to submit a meal for today, if they submit is before 9:00 pm.

 

Any suggestions?

 

Thanks.

Dries

1 REPLY 1
Anonymous
Not applicable

Re: Make condition they can submit an item only before 9:00am

In your visible attribute of your 'Order' button you should set the visibility based on the datetime, something like this:

 

If(Hour(Now()) > 8; False; True)

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (3,823)