web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / User selected time pic...
Power Apps
Unanswered

User selected time picker that writes to Sharepoint list

(0) ShareShare
ReportReport
Posted on by 11

I created a date picker data card in List Settings, an added time picker controls in Power Apps. The requester should be able to enter their start date and time, and end date and time.

 

PowerAppsMerf2_0-1710859917687.png

 

These are the steps I used:

 

1. create a Timer, Set Duration:1000, Enable Repeat and Auto start, Disable Auto pause, Set OnTimerStart: Set(VarCurrent,Now())

2. unlock the data card, add a dropdown in it, rename to AmPmValue1,

set Items: ["AM","PM"]

set Default: If(Hour(VarCurrent) < 12, "AM", "PM")

3. modify property of HourValue:

Items: ["12","01","02","03","04","05","06","07","08","09","10","11"]

Default: Text(If(Mod(Hour(VarCurrent), 12) = 0, 12, Mod(Hour(VarCurrent), 12)),"[$-en-US]00")

4. modify property of MinuteValue:

Default: Text(Minute(VarCurrent),"[$-en-US]00")

5. Modify property of data card:

Update: DateValue1.SelectedDate + Time(If(AmPmValue1.Selected.Value = "PM", 12, 0) + Mod(Value(HourValue1.Selected.Value), 12), Value(MinuteValue1.Selected.Value), 0)

 

Users select the form from a calendar view

PowerAppsMerf2_4-1710860467014.png

 

I tested this initially with start date and time and submitted the form.

PowerAppsMerf2_5-1710860804982.png

 

 

The output written to the list is the date and time the form is submitted, not the user selected date and time, which is what I need it to be.    

PowerAppsMerf2_2-1710860163330.png

 

I want users to see when items are reserved and new reservations to populate the calendar with the in and out time displayed on the correct dates chosen.

 

Can someone please help?

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard