How we can change date format MM/DD/YYYY form into email body content.

0
Hi , we have to change date format MM/DD/YYYY format into email body content, i tried formatDatetime function while i was setting values into microflow, but that is not working ( that is not supporting date format function and showing errors)\ can anyone help on this,   thanks
asked
2 answers
2

See the documentation here: https://docs.mendix.com/refguide/parse-and-format-date-function-calls

and here: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

Also make sure that the value is not empty. So do check that before doing the parsing.

Regards,

Ronald

 

answered
1

Latest versions of model reflection allow you to specify a display pattern for the token. You also need a recent version of the email with templates module. For each token you can then set a display pattern.

answered