cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
denislima
New Member

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

Power Apps
Power Apps

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.
Power Apps
Power Apps

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
New Member

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (9,330)