I have a custom date/time field in the Lead object. Let's say user enters 7/8/2013 6pm CST but the value is storage in the database in GMT = 7/8/2013 11pm GMT. (Salesforce storage all date/time values in GMT time by default)
I created a HTML table in Visualforce with a custom controller that pull date/time values from the Lead object and display them in GMT (7/8/2013 11pm GMT) while in the detail page of the Lead object date/time values are showed in the time the user entered it (7/8/2013 6pm CST).
How can I display the date/time values in the Visualforce page as they are showed in the detail page of the Lead object, that is, 7/8/2013 6pm CST instead of GMT?