Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

I can't choose a date and time with Hour Picker and Date Picker

(0) ShareShare
ReportReport
Posted on by 691

Hello, I am creating a schedule on Power Apps and I would like that when choosing a date and time on the right, it adds the event to the schedule. However I have a problem. The problem is that no matter what date and time you choose, the event will always appear in the schedule at "07/20/2022 at 6:00 p.m.".
Can you help me solve this problem please? Thanks in advance 😞

s44_0-1658741665189.png

 

 

My SharePoint list (datasource) :

s44_0-1658749816731.png

 

DateArrivee --> Date formant

Usine --> text format

Heure --> text format

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    If your column is not selected to DateTime please do update it to dateTime otherwise the formula won't work. 

     

     

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    @s44 

     

    You have to mention the selected value of the dropdown. In our case it should be something like below. 

     

    HourValue1.Selected.Value 
    &
    
    MinuteValue1.Selected.Value
    
    If you have used any other column instead of Value try adding that column name. 

     

     

     

     

  • s44 Profile Picture
    691 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    I used this method to be able to display the time and date differently on my schedule, because I didn't know how to do with a "Date and Time" field @SBax 

    s44_0-1658750380500.png

     

  • SBax Profile Picture
    1,348 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    I think this is the route of your problem. Is there a reason you need two fields?

     

    If there is no reason not to, would reccomend using one field with the configuration I showed in my last message, as it works as expected using this method (with no modifications to the form in any way)

  • s44 Profile Picture
    691 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    I use a "Date" field for the date, and a "Text" field for the time :0  @SBax 

  • s44 Profile Picture
    691 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    It's already doesn't work 😞  @PriyankaGeethik 

    s44_0-1658750024268.png

     

  • s44 Profile Picture
    691 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    It is as it appeared during creation :// @SBax 

  • SBax Profile Picture
    1,348 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    @s44- are you using one field of type date and time (with "include time") selected, or two fields (i.e. one for date, another for time)

     

    Column.png

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    @s44 

     

    YourHourValue and YourMinutesValue are just placeholders you have to add your dropdown values in there. YourHourValue  -> add your hour dropdown value and YourMinutesValue -> add your minutes dropdown value. 

     

     

  • s44 Profile Picture
    691 on at
    Re: I can't choose a date and time with Hour Picker and Date Picker

    I have this error message :c @PriyankaGeethik 

    s44_0-1658749175420.png

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard