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

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,162)