You need to sign in to do that
Don't have an account?
Coral Racing
How can I correct Incorrect Time Zone in Visual Force Email Template?
Hi I have the following in a visual force template:
<b>Open Date:</b> <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
<b>Open Date:</b> <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
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
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