I have the following line that I need to put in a date
Sat, May 21, 2011 21:31:35 GMT
So far I have been doing the following, but I'm not sure of the correct format to get this parsing. Any help would be appreciated!
SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyyy");
Date date = df.parse("Sat, 21-May-2011 21:31:35 GMT");
Thank you in advance
source
share