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
Super User
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.
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")
4 REPLIES 4
Super User
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.
Super User
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")
Highlighted
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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 43 members 4,108 guests
Please welcome our newest community members: