cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
denislima
Level: Power Up

date format

why does the date format appear in the "mm / dd / yyyy" mobile app and in the PC app shows "dd / mm / yyyy"? For me the correct one would be "dd / mm / yyyy" at all.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User
Dual Super User

Re: date format

The date format is set by the regional locale of the browser when it runs the PowerApp.  It appears that either the phone doesn't reflect the region or PowerApps isn't picking it up from the client correctly.  I've seen this before.  The default regional local is en-US which is what the phone is showing.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

PowerApps Staff CarlosFigueira
PowerApps Staff

Re: date format

There's currently a bug in which the language detection on mobile phones is not working properly - the team is working to release a fix soon.

As a workaround, if you want to force a date to be displayed in your format, you can use the Text function to show the date in the desired format:

Text(<your date>, "dd/mm/yyyy")

View solution in original post

4 REPLIES 4
Dual Super User
Dual Super User

Re: date format

The date format is set by the regional locale of the browser when it runs the PowerApp.  It appears that either the phone doesn't reflect the region or PowerApps isn't picking it up from the client correctly.  I've seen this before.  The default regional local is en-US which is what the phone is showing.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Dual Super User
Dual Super User

Re: date format

Should also point out that there is a Language() function that will return the current regional setting being reported to powerapps.  You could use that to test what your phone is reporting.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: date format

There's currently a bug in which the language detection on mobile phones is not working properly - the team is working to release a fix soon.

As a workaround, if you want to force a date to be displayed in your format, you can use the Text function to show the date in the desired format:

Text(<your date>, "dd/mm/yyyy")

View solution in original post

denislima
Level: Power Up

Re: date format

Thank you all, because of you I solved the language problem. I used the formula "Text('Data/Hora' ; "[$-pt-BR] dd/mm/yyyy ")" in all fields.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,488)