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
Coral RacingCoral Racing 

How can I correct Incorrect Time Zone in Visual Force Email Template?

Hi I have the following in a visual force template:
&nbsp;<b>Open Date:</b> &nbsp;<apex:outputText value="{0,date,EEEE, MMMMM dd, yyyy 'at' HH:mm:ss z}"><apex:param value="{!relatedto.BMCServiceDesk__openDateTime__c}" /></apex:outputText><br/>

However this is showing the time as GMT and not BST so is one hour behind.  How would I correct this?

Thanks in advance for any input

Sonya
Anil SavaliyaAnil Savaliya
Hey Sonya,
Check Below link,This may helpfull  for your timezon conversion implementation.

http://www.infallibletechie.com/2013/10/how-to-convert-time-zone-in-salesforce.html

Thanks,
Anil Savaliya


SoloSolo
Hi Sonya,

Hope this will solve your problem

https://developer.salesforce.com/forums/ForumsMain?id=906F000000098DmIAI

Please mark my answer as Best to mark your question as solved.

Regards,
Evgeny