function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anthonyleeanthonylee 

Date Display 3/8/2012 to March 8, 2012

I am creating a email template with custome date field.

 

I would like to make it display March 8, 2012 rather than 3/15/2012.

 

Is there a way to format this?

SabrentSabrent

If you create a VisualForce Email template, then you can format the date as you desire by using,

 

<apex:outputText value="{0,date,dd-MM-yyyy}">      // Check documentation for various formats

 

You can't format the date using the text email template. And I am not sure of you can do it with custom email template.

 

Hope this helps.