Question

Date format in email template

Dear,

 

In the section, I have a DateTime field.

In the email template I want to display the Date only, so no timestamp.

 

Email template: https://prnt.sc/10aa38n

Result: https://prnt.sc/10aa4ux

 

In the Academy I found following article which describes how to add a fixed text as a macro, but not how I can format an existing field.

https://academy.creatio.com/docs/developer/front-end_development/creati…



Any idea how this can be fixed?

 

Kind regards,

Vincent

Like 1

Like

1 comments

Hello Vincent,

 

I did a research but it seems that there is no easy way to complete your business task. I've registered the request for the R&D team to investigate how the macro functionality can be extended with more features.

As a workaround, you can add a hidden column into the object that will contain the same date as in your DateTime field. After that, you can add it to the template with the help of macro.

 

Best regards,

Bogdan S.

Show all comments