cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Community Support
Community Support

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

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (7,158)