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
computing cloudcomputing cloud 

Date format in an email template

Hello All ,
I Would like to have a Date Format in an email template for the contract end date.Based on the requirement im using the enddate in an html email template but its displaying the date and time ,but we would like to have only the date displayed.How can i do this.

In Contrac End Date ...its displaying the date and time .But i would like to have only the Date Displayed.
Contract End Date :2016-08-28 00:00:00

Any help very much appreciated.

Dhanik L SahniDhanik L Sahni
Please check this.
<apex:outputText value="{0, date, dd/MM/yyyy}">
                 <apex:Param value="{!relatedTo.AE_Patient_DOB__c }" />