You need to sign in to do that
Don't have an account?
PRepaka
How to display datetime in the subject of visual force email template
hi
i am getting only date even if i assign the datetime field in the subject of visual force template.
<messaging:emailTemplate subject="{!relatedTo.Start__c} recepientType = "Contact" relatedToType="CC_Appointment__c">
but i am getting only date not time in the email.
please help me.
Use the Global Function {!NOW()}. For more information, follow this link:
http://www.salesforce.com/us/developer/docs/pages/salesforce_pages_developers_guide.pdf
and go to page 104, in the Appendix on Global Variables, Functions, and Expression Operators.
(Note: the template must be a VisualForce-type template)