SetCurrentLocale has no impact on FormatDateTime in email
Question

Hello!

I use the SetCurrentLocale in the preperation of the email and fill it with nl-NL.

The FormatDateTime is set to FormatDateTime(AddDays(CurrDate(),35), "d MMMM yyyy")

The email now shows: 8 May 2021 instead of 8 mei 2021.

Is it correct that the SetCurrentLocale has no impact on FormatDateTime?

That is correct. Locale will not change the date format or translate month names.

Check this topics for more information regarding this subject and possible workarounds:

https://www.outsystems.com/forums/discussion/35328/multilingual-locales-name-of-the-months/

https://www.outsystems.com/forums/discussion/54688/set-language-locale-in-extension/

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.