How to convert from String to Date?
<p>I am getting the date (which is varchar in database) from database. I want to use this String as a date. the String format is "yyyy-mm-dd". How will it be converted to actual date type?</p>
