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

How to set datepicker with hour field

Hello, I am trying to set a datepicker control. How do I implement it so it also gets the input hour?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to set datepicker with hour field

Hi @Javargas 

 

DateField.SelectedDate & " " & Time(Value(HourDropdown.Selected.Value), Value(MinutesDropdown.Selected.Value), 0)

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

4 REPLIES 4
Super User
Super User

Re: How to set datepicker with hour field

Hi @Javargas 

 

check this

https://powerusers.microsoft.com/t5/General-Discussion/Date-Time-Picker-Missing-Time/td-p/49940

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Javargas
Level: Powered On

Re: How to set datepicker with hour field

It worked, thanks. How do I put the separates values from the datepicker and the dropdown selections into one date formated label? like dd/mm/yyyy hh:mm? 

Super User
Super User

Re: How to set datepicker with hour field

Hi @Javargas 

 

DateField.SelectedDate & " " & Time(Value(HourDropdown.Selected.Value), Value(MinutesDropdown.Selected.Value), 0)

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

Javargas
Level: Powered On

Re: How to set datepicker with hour field

Hello, @RezaDorrani 

 

Do you know how to convert an string "10:00" to hour format? Thanks

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 89 members 3,552 guests
Please welcome our newest community members: