web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

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,847 Super User 2025 Season 2 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
    493 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 759 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard