Hi All,
I am using 2 dropdowns for Hours and Minutes and then combining them in a DataCard. All works fine EXCEPT it display in AM/PM rather than 24hr, which is what I'd prefer. Been looking for ages, but can't seem to find out why. Any Ideas?
Default of DataCard: Time(Value(StartHourDropdown_1.Selected.Value), Value(StartMinutesDropdown_1.Selected.Value), 0)
Screenshot
I'm assuming I've got myself into a mess with Text/Number combinations. But it's late in the day and my brain is tired 🙂
Kev
Solved! Go to Solution.
Hello again my friend. Hopefully I can be of some service to you here.
Putting this code in your label would result in 7AM displaying as 07:00 and 7PM displaying as 19:00.
Text(
Time(
Value(StartHourDropdown_1.Selected.Value),
Value(StartMinutesDropdown_1.Selected.Value),
0
),
"hh:mm"
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Hello again my friend. Hopefully I can be of some service to you here.
Putting this code in your label would result in 7AM displaying as 07:00 and 7PM displaying as 19:00.
Text(
Time(
Value(StartHourDropdown_1.Selected.Value),
Value(StartMinutesDropdown_1.Selected.Value),
0
),
"hh:mm"
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Thank you @mdevaney ,
I understand why but I would never have got there without you 🙂
Kev
p.s. 2 finished apps now 🙂
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
213 | |
198 | |
83 | |
59 | |
38 |
User | Count |
---|---|
311 | |
255 | |
123 | |
86 | |
55 |