I want to convert string date to date format for storing database table. The code below is not working. It is showing a java.lang.ClassCastException:
java.lang.String cannot be cast to java.util.Date Exception
Code
Date date = (Date)hmap.get("skillexpdate");