By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,156 Members | 1,022 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,156 IT Pros & Developers. It's quick & easy.

unable to parse date--please-please

P: 14
hi all
i got stucked in 1 problem.i am getting err (java.text.ParseException: Unparseable date: "2007-06-29 11:34:59.0")
on this line--utilDate = format.parse(convert);

code is down--------please help me......

for(int i=0;i<values.length;i++)
String convert=values[i];
SimpleDateFormat format=new SimpleDateFormat("");
Date utilDate = new Date();
utilDate = format.parse(convert);
Timestamp times = new Timestamp(utilDate.getTime());
Iterator it = expired.iterator();
Jun 22 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.