i have used the following Code to save date into DB of Sqlite ( java.sql.Date)
public String dateToDB ( Date date)
{
String convertedDate = date.toString(); // yyyy-mm-dd
return convertedDate;
}
How can i convert the recovered String into date?
private Date dateFromColumn(String columName, Cursor result)
{
// ???????
return date
}
I found this in the Docs:
This means four you: