SetCurrentLocale has no impact on FormatDateTime in email


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:

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