cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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")
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.