The Constructor Date(String) is Deprecated since of JDK 1.1 you should not use it
<br />The Constructor Date(String) is Deprecated since of JDK 1.1 you should not use it<br />You should use java.text.SimpleDateFormat to convert String value to Date. E.g.1privatestaticfinalSimpleDateFormat sdf = newSimpleDateFormat(”yyyy-MM-dd”);2String