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
Rajesh SFDCRajesh SFDC 

how to convert 24 format to 12 format in apex salesforce

The following value is my input
'11/21/2014 15:20:00'
i want to change the above value format like '11/21/2014 03:20 pm'
how to do this any help me
 
BHinnersBHinners
Apex supports Java simple date conversion codes and format codes that you find here: http://www.tutorialspoint.com/java/java_date_time.htm

Are you planning this in Apex or in Visualforce?
Sforce.NinjaSforce.Ninja
Rajesh,
Please avoid creating multiple threads, just answered your question in another thread.