+ Start a Discussion
Rajesh SFDCRajesh SFDC 

converting datetime issues in apex

here my input like this given below ;
1.string d1=27/11/2014 14:23:16

2.string d2=11/27/2014 14:23:16

3.strind d3=2014/11/27 14:23:16

4.string d4=2014/27/11 14:23:16
i need a like this output please help me any
Output
=============================================
final output like this : 11/27/2014 9:06 AM
Kiran Kumar GottulaKiran Kumar Gottula
@Rajesh,

There is no specific method for convert 24hrs to 12Hrs.

Refer URL : http://forums.asp.net/t/1945511.aspx?Convert+a+date+time+in+to+a+24+hours+format+from+12+hours+format+