[android-developers] date parsing

2011-08-18 Thread bob
I'm using this code to try to parse a date: Date myDate = DateFormat.getDateInstance().parse(s); However, I get this: java.text.ParseException: Unparseable date: Sun, 19 Jun 2011 02:28:34 -0500 Any ideas how I can easily parse a date in that format? -- You received this message

Re: [android-developers] date parsing

2011-08-18 Thread Daniel Drozdzewski
On 18 August 2011 16:45, bob b...@coolgroups.com wrote: I'm using this code to try to parse a date:        Date myDate = DateFormat.getDateInstance().parse(s); However, I get this: java.text.ParseException: Unparseable date: Sun, 19 Jun 2011 02:28:34 -0500 Any ideas how I can easily