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 / choosing a date in dat...
Power Apps
Unanswered

choosing a date in date picker in powerapps automatically records 4pm in excel list

(0) ShareShare
ReportReport
Posted on by 56

When I pick a date in my date picker in powerapps, the time that automatically records in excel (source) is 4pm, I want it to record 12am. On the other hand, When I try to edit in excel, I just put the date, and when I come back to powerapps, it reflects 8am. What to do

Categories:
I have the same question (0)
  • VishalJhaveri Profile Picture
    1,169 Moderator on at

    You need to select the date, store it in a variable, and try to convert the hhmmss parameters keeping in reference the UTC time.

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @PALQD ,

     

    When you select a date in PowerApps, actually the date and time value is within the time zone of local device. Let's say you are in UTC+8, after saving 5/7/2024 0:00 to Excel, it records 5/6/2024 16:00. So, if you are saving date time to excel, you need to add the time zone offset to the selected date:

    DateAdd(DatePicker.SelectedDate, -TimeZoneOffset(), TimeUnit.Minutes)

    vjefferni_0-1715062750898.png

     

    Best regards,

  • PALQD Profile Picture
    56 on at

    i will put this formula to what property of the date picker?

    DateAdd(DatePicker.SelectedDate, -TimeZoneOffset(), TimeUnit.Minutes)
  • VishalJhaveri Profile Picture
    1,169 Moderator on at

    @v-jefferni  created a Label in which you need to write down the formula.  @PALQD 

  • PALQD Profile Picture
    56 on at

    I need the steps to do it the correct way so that when i click a date in powerapps, the excel should record the same date 12am. any ideas how

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @PALQD ,

     

    It depends on how you add values into Excel table. The whole formula is just the value that you use.

     

    Best regards,

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @PALQD ,

     

    Have you solved this problem?

     

    Best regards,

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard