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
Dhaval PanchalDhaval Panchal 

Formating date time

Hi,

 

I want to convert datetime value

 

i.e. currently I am getting value "Mon Aug 26 11:49:39 GMT 2013" and I want to convert it to "26-Aug-13 11:49 PM"

 

Any Ideas?

 

I want to apply formatting on standard "CreatedDateTime" field.

Best Answer chosen by Admin (Salesforce Developers)