cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

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
Highlighted
Advocate II
Advocate II

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

37 REPLIES 37
Highlighted
Community Champion
Community Champion

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.

Highlighted
Helper III
Helper III

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) 

Highlighted
Helper III
Helper III

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?

Highlighted
Helper III
Helper III

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

Highlighted
Helper III
Helper III

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?

Highlighted
Community Champion
Community Champion

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.

Highlighted
Helper III
Helper III

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.

Highlighted
Power Apps
Power Apps

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")
Highlighted
Helper III
Helper III

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,381)