+ 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
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?
Please avoid creating multiple threads, just answered your question in another thread.