The java.sql.Date.valueOf method is a static method in the Java programming language used to convert a string representation of a date in the format "yyyy-[m]m-[d]d" into a java.sql.Date object. This method requires the input date string to have a strict format, with the year, month, and day separated by hyphens. The resulting java.sql.Date object can be used to manipulate and perform calculations with dates in a database using JDBC (Java Database Connectivity).
Java Date.valueOf - 30 examples found. These are the top rated real world Java examples of java.sql.Date.valueOf extracted from open source projects. You can rate examples to help us improve the quality of examples.