How to Trim the datetime value to only date in email template. Please provide syntax of code if anyone have it handy.
- Products
- Solutions
- Resources
- Trials
- Support
- Partners
- Communities
How to Trim the datetime value to only date in email template. Please provide syntax of code if anyone have it handy.
Option 1: If you are using a custom process to send the mail template, you are able to use a value from the parameter collection in the mail template that is correctly formatted already $PC(paramtername)$
Option 2: You need to write a script that returns the correct value and call it in the mail template.
I have a question about Option 2. I have seen the example in the Documentation, $Script(ccc_script, "param1,param2")$ But how do i pass $EntryDate$ instead of a constant string. What is the correct Syntax for that.
I have a question about Option 2. I have seen the example in the Documentation, $Script(ccc_script, "param1,param2")$ But how do i pass $EntryDate$ instead of a constant string. What is the correct Syntax for that.