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

Format date time to specific language

Hi,

 

I need to format a date to a specific language.

 

Right now I have the following expression:

 

formatDateTime(outputs('Compose_3'), 'd MMMM yyyy')
This returns 3 January 2019, for example.
 
However, I also need this date to be displayed in German.
 
By consulting this page I found out about this:

 

DateTime date1 = new DateTime(2008, 8, 29, 19, 27, 15); 

Console.WriteLine(date1.ToString("d, M", 
                  CultureInfo.InvariantCulture)); 
// Displays 29, 8

Console.WriteLine(date1.ToString("d MMMM", 
                  CultureInfo.CreateSpecificCulture("en-US")));
// Displays 29 August
Console.WriteLine(date1.ToString("d MMMM", 
                  CultureInfo.CreateSpecificCulture("es-MX")));
// Displays 29 agosto  

 

Is there a way to implement this in Flow?

 

 

Thank you  

1 REPLY 1
Community Support Team
Community Support Team

Re: Format date time to specific language

Hi @nhafala,

 

Flow does not currently support formatting time into a specific country or region.

I am afraid that your requirements cannot be achieved currently.

If you want to the feature that you mentioned to be supported in Microsoft Flow, please submit an idea to Flow Ideas Forum:

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

In addition, you could consider using Convert time zone action. Although it can't configure the time display style of a specific country, you could select the time zone and it provide a lot of time display format.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

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!

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!

Top Kudoed Authors
Users Online
Currently online: 79 members 3,747 guests
Please welcome our newest community members: