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

Localised dates

I'm building a Flow where I want to show the dates of Sharepoint objects. I would like to have the format "Mån 23 maj, 2018", (In English: Monday May 23, 2018) localised in Swedish. I can't get the Swedish names of the days and months, however. 

 

I have made an easy sample flow to test this, with this code:

 

formatDateTime(items('Tillämpa_på_vardera')?['Created'], 'dddd dd MMMM')

but it comes out as

 

Wednesday 30 May

 

I have tried to set the regional settings in the settings panel to Sweden:

 

 

flow.png

 

but it doesn't help. 

 

In the support document https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings there is a parameter where you can set the localisation settings, but I can't get that to work in MS Flow.

 

formatDateTime(items('Tillämpa_på_vardera')?['Created'], 'dddd dd MMMM', 'sv-SE')

gives me an error message.

 

I have also tried 

 

formatDateTime(items('Tillämpa_på_vardera')?['Created'], '[$-sv-SE]dddd dd MMMM')

which is the Powerapps syntax but that doesn't work either. 

 

I'm out of ideas now. I think I should be able to get the localised weekday and month names but how?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Localised dates

Hi @fjellander,

 

I have made a test on my side and I afraid that it is not supported in microsoft flow to get a date formate no in english.

 

And I afraid that there is no way to achieve your needs to get a data format in Swedish in Microsoft Flow currently.

 

You could submit an idea to Flow Ideas Forum if you would like this feature to be added in Microsoft Flow,

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Alice

2 REPLIES 2
Community Support Team
Community Support Team

Re: Localised dates

Hi @fjellander,

 

I have made a test on my side and I afraid that it is not supported in microsoft flow to get a date formate no in english.

 

And I afraid that there is no way to achieve your needs to get a data format in Swedish in Microsoft Flow currently.

 

You could submit an idea to Flow Ideas Forum if you would like this feature to be added in Microsoft Flow,

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Alice

fjellander
Level: Powered On

Re: Localised dates

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fourthImage

Australia Summit

Travel to Melbourne and network with thousands of peers!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 83 members 3,818 guests
Please welcome our newest community members: