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 change datetime issues apex class in salesforce

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

5.string d5=12/27/2014 10:23:00 AM

6.Sring d6=27/12/2014 10:23:00 AM

7.6.Sring d6=2014/27/12 10:23:00 AM

Output
=============================================
final output like this : 11/27/2014 9:06 AM
rajesh k 10rajesh k 10
see below link
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000ApRJIA0