cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
paNewby
Level: Powered On

How do I get my dataform to display dates in DD/MM/YYYY format?

I have set my computer Region/Date to Australia DD/MM/YYYY format. I have set Sharepoint region to the same so my Sharepoint list displays in that format. I have created a PowerApp that insists on displaying dates in MM/DD/YYYY format. How do I change it?

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKeil
Level: Powered On

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

Okay so i found a way to do this, if you change the 'format' property from something like 'DateTimeFormat.ShortDate' to just "dd/mm/yyyy" it will change it. I found that even when using TEXT(<field>, "dd/mm/yyyy") if the format property shows shortdate, or longdate or anything like that, it will use the browser defult.

View solution in original post

35 REPLIES 35
Meneghino
Level 10

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

Hi @paNewby, if the PowerApp is running in the browser then you need to change the regional settings for the browser also.

 

For an example with Chrome, please see my earlier post, I think the second in this thread:

https://powerusers.microsoft.com/t5/PowerApps-Forum/DateTime-picker-displays-incorrect-format-for-ou...

 

Please let me know if this resolves your issue.

paNewby
Level: Powered On

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

I am testing it using the Desktop version and pressing the forward arrow (F5) 

paNewby
Level: Powered On

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

I just made sure my Chrome browser was set to Australia and tried launching from there but still it displays in the wrong format. Am I meant to format each date field using the function i.e. will this only work in default format if it stays in MM/DD/YYYY format?

paNewby
Level: Powered On

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

How intriguing. On my PC it works in MM/DD/YYYY format and on my phone it works in "MMMM DD, YYYYY" format. At least that's workable

paNewby
Level: Powered On

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

Sorry, I was premature in accepting your reply. the date displays acceptably on my phone but still in the wrong format on my desktop PowerApps and in emails that are from my workflows. Do you know where I can get a list of places I need to update to get dates to display in the correct format?

Meneghino
Level 10

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

Hi @paNewby

Sorry to hear that you are still having issues.  After changing the Chrome settings, all the rest seems to work fine for me.

All my systems run UK locale, including PC, mobile etc.  I am not aware of anything else that needs to change.

paNewby
Level: Powered On

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

Afraid I am at a loss now. My app does what I need but I can't live with incorrectly formatted dates - it's too dangerous e.g. there's a big difference on a due date of 12/1/2017 vs 1/12/2017 - we could be really late, or early, for an appointment.

Power Apps Staff AndyPennell
Power Apps Staff

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

How exactly is your app displaying the date? Does this not work?

Text(somedatevalue, "dd/mm/yyyy")
paNewby
Level: Powered On

Re: How do I get my dataform to display dates in DD/MM/YYYY format?

I tried inserting a new texbox on the form with your suggested format and I get an error message that says "Invalid arguement type(Control). Expecting a Text value instead"

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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