cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jeziel_Victor
Helper II
Helper II

Date picker power apps

Hello,
How can I change the date picker time.

 

alterar hora.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @Jeziel_Victor,

Do you want to format the Today() into a date and custom time?

Could you please share a bit more about your scenario, where do you want to refer to this custom date and time?

If you want to save a date and time, you should format this as below:

Text(Today() + Time(20,0,0),"mm/dd/yyyy hh:mm:ss")

vqiaqimsft_0-1628650372734.png

Note that this only work for a certain custom time, if you want a dynamic time, like a Dropdown list to select, you should add a separate dropdown for hour value.

Add a Dropdown and set the Items as below:

["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"]

Format the date and time as below:

Text(Today()+Time(Value(HourValue1.Selected.Value), 0, 0),"mm/dd/yyyy hh:mm:ss")

vqiaqimsft_1-1628650975704.png

Hope this could help you at some degree.

 

Best Regards,
Qi

View solution in original post

2 REPLIES 2
v-qiaqi-msft
Community Support
Community Support

Hi @Jeziel_Victor,

Do you want to format the Today() into a date and custom time?

Could you please share a bit more about your scenario, where do you want to refer to this custom date and time?

If you want to save a date and time, you should format this as below:

Text(Today() + Time(20,0,0),"mm/dd/yyyy hh:mm:ss")

vqiaqimsft_0-1628650372734.png

Note that this only work for a certain custom time, if you want a dynamic time, like a Dropdown list to select, you should add a separate dropdown for hour value.

Add a Dropdown and set the Items as below:

["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"]

Format the date and time as below:

Text(Today()+Time(Value(HourValue1.Selected.Value), 0, 0),"mm/dd/yyyy hh:mm:ss")

vqiaqimsft_1-1628650975704.png

Hope this could help you at some degree.

 

Best Regards,
Qi

View solution in original post

microconsulting
Frequent Visitor

@Jeziel_Victor , @v-qiaqi-msft ,

 

Check out custom date picker control for Power Apps.

Please check this link for installation instructions.

http://themicroconsulting.com/powerapps-custom-calendar-component-with-time-picker/

 

Your feedback will be more than appreciated.

 

ezgif.com-gif-maker (1).gif

 

Thanks 🙂

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,957)