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 Apps
Suggested Answer

Date problem

(0) ShareShare
ReportReport
Posted on by 14

Hello,

I have a problem in PowerApps. I have a button that should create or update a cell in a table based on an Input Text and a date chosen from three dropdowns (for year, month, and day). The button works and adds the text, but it always shows the next day’s date instead of the one I select. Does anyone know why this happens?

UpdateIf(
    User01;
    Text(DateValue(
        Text(DropdownYear.Selected.Value) & "-" & 
        Text(DropdownMonth.Selected.Value) & "-" & 
        Text(DropdownDay.Selected.Value)
    ); "[$-en-US]yyyy-mm-dd") = Text(Date; "[$-en-US]yyyy-mm-dd");
    {
        Activity: Input_Activity.Text
    }
)
 
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,862 Moderator on at
    What date does your formula 
    Text(DateValue(
            Text(DropdownYear.Selected.Value) & "-" & 
            Text(DropdownMonth.Selected.Value) & "-" & 
            Text(DropdownDay.Selected.Value)
    produce? Consider that you are converting dates to en-US but from your code you appear not to be in that locale. When you say that it is showing the next day's date are you considering your local date?
  • Suggested answer
    pavanmanideep Profile Picture
    551 Power Up Champ - 2025 on at
    Hi,
     
     
    Make sure you were doing date conversion to handle the dates properly.
     
    Thank you.
     
    Cheers,
    PMDY

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard