I want to use SimpleFormatMethod for date time like - 09/20/2016 10:10:10 PM. As I found in google, it could be like -
SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy kk:mm:ss.SSS ?");
but what should in place of ? which stands for AM/PM