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
Michael MMichael M 

How to display date and time of created date in Eastern time zone

I am displaying a createddate in my VF page. However the time is showing in GMT time. How can I change that to eastern time zone? 

      <apex:column >
       <apex:facet name="header">Date Sent</apex:facet>
             <apex:outputText value="{0, date, MMMM d','  yyyy  'at' HH:mm:ss a}">
    <apex:param value="{!noteslist.createddate}" /> 
     </apex:outputText>
     </apex:column>
Best Answer chosen by Michael M
ANUTEJANUTEJ (Salesforce Developers) 
Additionally you can also check this below article: 

>> http://www.nisarkhan.net/?p=522

All Answers

ANUTEJANUTEJ (Salesforce Developers) 
Hi Michael,

>> https://salesforce.stackexchange.com/questions/61579/visualforce-page-display-time-in-timezone

Can you try checking the above once it shows two ways that you can try.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.
ANUTEJANUTEJ (Salesforce Developers) 
Additionally you can also check this below article: 

>> http://www.nisarkhan.net/?p=522
This was selected as the best answer
Michael MMichael M
That is awesome! Worked perfect- thank you
ANUTEJANUTEJ (Salesforce Developers) 
Glad to know it helped Michael. :)