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
Girbson Bijou 8Girbson Bijou 8 

Display User TimeZone

Help me to use the User time instead of GMT Time
<div class="footer">
        <div>
                 Printed by :  {!$User.FirstName} {!$User.LastName} &nbsp; 
                   <apex:outputtext value=" {0, date, long} ">
                       <apex:param value=" {!NOW()} "></apex:param>
                  </apex:outputtext> &nbsp; at {!TIMENOW()}
                  <div>Page <span class="pagenumber"/> of <span class="pagecount"/></div>
       </div>
</div>
Raj VakatiRaj Vakati
Salesforce store the dateTime value in database in GMT Format. When the dateTime display on standard page. It display in current user's time zone


DateTime format for current user you can able to do it by using apex controller 
 
String strConvertedDate = a.CreatedDate.format('MM/dd/yyyy HH:mm:ss', UserInfo.getTimeZone().toString());

please refer this link 

https://salesforce.stackexchange.com/questions/104587/timezone-on-vf-page