I have customised a form in a SPO list. The SPO site has a UK regional settings, however it's accessed from users around the world and each user may have set their own region in their profile.
RIght now, even though the site's region is set to UK and my profile region is set to UK, the date format in the form is US. But when the date column displays in a view, it shows in UK format as expected.
I need the date fields in the form to follow the user's region. How do I do that?
Hi @sandra_nz,
From within Power Apps there is no direct way to access a users regional setting. SharePoint does use this. but from Power Apps unfortunately not (yet).
You should also vote on @YatinMumbai 's idea: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Date-formats-using-user-s-locale-or-regional-da...
I have created a workaround to get a users Email Inbox folder naming because that is language specific upon creation but I would not recommend it for bigger organizations en with more than 2 languages it becomes an hassle.
Thanks, I've voted!
If I did want to set it to be UK date format rather than US date format, can I do that?
Definitely!
You can edit the Date Picker Control (see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-date-picker for more info on the control )and the following properties are relevant:
What I often do so I can centrally manage the format that I want:
Then language 1 Dutch =
And language 2 English US =
So you can put a texts like "[$-nl-NL]ddd dd mmm yyyy" directly in the Date Picker Control in the Format Property but when you have multiple Date Pickers throughout your Power App you may want to centralize the management of the format 👍
Aaaaah, I like it! I will use this in my form! Thanks!