Use locale in formatDateTime to translate name of the day and month - Mendix Forum

Use locale in formatDateTime to translate name of the day and month

8

When formatting a dateTime you can only choose the format of the dateTime. When you want to format this date to a long format the name of the day and month will be translated to the language of the user.

Wouldn't it be nice if you can translate this day and month in a specific language with the formatDateTime function?

Example:

I would like to send an email to a French customer but I'm English. In this email I would like to include a long date (4 mars 2020) but this will now be formatted as 4 March 2020 because my system language is English.

asked
0 answers