I am a beginner in AMPscript and I am facing an issue. I would like to convert a date format into the customer language. For now, I was able to convert the format from "xx/xx/xxxx" into "DD MMMM YYYY" doing this:
SET @EB1_End_Date_Formated = FormatDate(@EB1_End_Date, "DD MMMM YYYY","", "en-US")
SET @Opening_Date_Formated = FormatDate(@Opening_Date_Formated, "DD MMMM YYYY","", "en-US")
but now I would like the formatted date to be translated into the customer language for it to do:
- English: 21 december 2021
- French: 21 décembre 2021
Can you please help me with this? I cannot find the exact code to enter anywhere. Thanks a lot!