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 Platform Community / Forums / Power Apps / Powerapps DatePicker I...
Power Apps
Unanswered

Powerapps DatePicker Issue with Different Language

(2) ShareShare
ReportReport
Posted on by

Hi, 

 

I am building a powerapps with a date picker field which returns the value in "mm/dd/yyyy" format. My browser's default value is English(US). when I change my browser's language to English(UK), the date picker starts returning the garbage value. Ex: If date selected in date picker is "14th November 2019" with English(US) language, the value returned is "11/14/2019" but with English(UK) language, the value returned is "11/02/2020" which is incorrect. can anybody help me with this and let me know a solution/workaround for this. 

 

Thanks in advance 🙂

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 

    Hello there.  What settings are you using for the DatePicker?  Do they look like this?  Is your language setting matching mine?

     

    Capture.PNG

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    on at

    Hi There,

     

    Thanks for your response.

    I updated my datepicker control to have same settings as that of yours. Now it is not returning any random value but it returns the date in "dd/mm/yyyy" format where as I want the date in "mm/dd/yyyy" format. can you suggest a solution for that as well.

     

    thanks

     

  • mdevaney Profile Picture
    29,989 Moderator on at
    Try changing the language property to “en-US”
  • Community Power Platform Member Profile Picture
    on at

    I tried changing the language to "en-US" but date picker still returns the value in "dd/mm/yyyy" format for English UK language browser setting.

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Let me know if I am missing something here: 

     

    1. My browser language setting is English (UK)


    BrowserLanguage.PNG

     

     

     

     

     

     

    2. When I specify user local in the date picker, it returns 14/11/2019

     

    PA1.PNG

     

    3. When I specify "en-US" in the date picker language setting, it instantly changes to 11/14/2019

     

    PA2.PNG

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

    Hardit(Haman)

  • Community Power Platform Member Profile Picture
    on at

    Hi There,

     

    From your first screenshot I can see that your browser language in "English US", English UK is turned off. Secondly, In my case the date picker shows the date in desired format but it returns the incorrect value.

    Screenshots below: 

    1. Browser Setting-

    browser.JPG

    2. DatePicker Settings-

    DatePicker.JPG

    3. Value in DatePicker (correct format i.e. mm/dd/yyyy)-

    DatePickerFormat.JPG

    4. Value returned by DatePicker (incorrect format i.e. dd/mm/yyyy)- 

    DateFormat.JPG

     

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    In my 1st screenshot, the language I set as UK English, the spell check is set to US English. But I can switch that too and check again.
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Just wanted to let you know I was able to replicate your experience. I am pretty sure you know but just wanted to confirm that you do not want to use a formula to format the date with something like this? 

     

    Text(DatePicker1.SelectedDate,"mm/dd/yyyy")

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

    Hardit(Haman)

  • Community Power Platform Member Profile Picture
    on at

    I tried to use the formulas to format the date in desired format, but the formulas also returns the incorrect date value after formatting. secondly I am performing some date comparisons on these dates, so I can not use text formula. I have to use date formatting formulas.

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard