I have string date now i want to convert this string date to date type date
that should be in below format.
String schedueDate ="2014-9-26 23:10:15";
now i want same date into date type how do i convert
I have tried like
Date date = formatter.parse("string date");
but it is giving diff format
Can some one suggest me,