[Solved] How to parse this date in java : “12/19/2015 8:00:00 AM” [duplicate]


Just follow the documentation and use the formatting elements that correspond to the string you have:

String strDate = "12/19/2015 8:00:00 AM";
DateFormat df = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss a");
Date date = df.parse(strDate);

solved How to parse this date in java : “12/19/2015 8:00:00 AM” [duplicate]