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 / DatePicker in PowerApps
Power Apps
Unanswered

DatePicker in PowerApps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am using a DatePicker, and I would like to manipulate the selected information of this component, when they selected the data, I would like to add it + a time of interest to me. Example: They selected 10/8/2021. This date will be like 08/10/2021 00:00:00, I would like it to be 08/10/2021 23:00:00. It's possible?

Categories:
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous

     

    • If you submit form then set the Update property of the Data cardStalinPonnusamy_0-1628624668121.png

       

    • If you Patch command to save Date with time. I assume your data source accepts time and expecting current time to add it

     

     

     {
     'Date reported': DatePicker1.SelectedDate + Time(Hour(Now()) , Minute(Now()), 0)
     }

     

     

    We can hard time if needed

     

    DataCardValue17.SelectedDate + Time(23 , 0, 0)

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello, @StalinPonnusamy 

    Soma (
    Filtro ('SALDO PRD ACUMULADO'; Dados> = Datainicio1.SelectedDate; Data <= Datafim1.SelectedDate + Time (20; 00; 00));
    CP8)

     

    Are you sure how it was entered into the role? must bring the result added according to the data generated and the time must be less than 23 hours for it to be added?

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous

     

    Note: The date is stored as UTC time in DB and it will display as the user's local time zone.

     

    If you update the Date field like this 

    DataCardValue17.SelectedDate + Time(23 , 0, 0)

     

    Then filter should be 

    Filter(IssueTracker,'Date reported' < DatePicker2.SelectedDate + Time(23 , 0, 0))

     

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard