cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ASH4EVER
Helper I
Helper 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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,195)