SyntaxFix
Write A Post
Hire A Developer
Questions
You can use SimpleDateformat for change string to date
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); String strDate = "2000-01-01"; Date date = sdf.parse(strDate);