cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ASH4EVER
Advocate I
Advocate I

Convert datetime to text - how to specify output locale?

Dear community!


Need some advice about the next use case. I need to convert the date to a text format that will be later used in the workflow for folder creation (part of the full path).


When I use "Convert datetime to text" I get a result in Russian, according to the locale (region) settings on my PC (see screen).

 

ASH4EVER_0-1618214450557.png


But a need to get this in English (April instead of Апрель). How can I achieve that without changing my default Region/Locale setting in the system?

 

Thanks in advence,

Alex

2 REPLIES 2
fraenK
Memorable Member
Memorable Member

You could create a lookup table through a custom object variable with:

%{ 'Property1': 'Value1', 'Property2': 'Value2', 'Property3': 'Value2' }%

https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-data-types#advanced-data-type...

 

Property1 = Апрель

Value1 = April

 

%English['Апрель']% would return April

Hi,

Thanks for the suggestion. I was also thinking about substitution from some master data source.

 

BR,

Alex

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,235)