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
Super User
Super User

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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Users online (1,799)