SimpleDateFormat formatter = new SimpleDateFormat("d MMM yyyy kk:mm:ss zzz");
String str1 = "9 Oct 2014 07:09:17 GMT";
Date date1 = formatter.parse(str1);
solved Compare date and time in string format [duplicate]
SimpleDateFormat formatter = new SimpleDateFormat("d MMM yyyy kk:mm:ss zzz");
String str1 = "9 Oct 2014 07:09:17 GMT";
Date date1 = formatter.parse(str1);
solved Compare date and time in string format [duplicate]