Print this page

How can I render Date fields in the DD/MM/YYYY format in Visualforce Email Templates?

Knowledge Article Number 000092749
Description When creating a Visualforce HTML email template,  including a Date field (as opposed to a Date/Time field) using a merge field such as {!relatedTo.Custom_Date__c}, the date will be in the following format: 

Mon Oct 10 00:00:00 GMT 2011

You want the date to instead be formatted without time or timezone information;  e.g. DD/MM/YYYY
Resolution You can use standard formulas to extract just the date into the format you want e.g.

which will show as DD/MM/YYYY

promote demote