{{theTime}}

Search This Blog

Total Pageviews

How to convert java.util.Date to java.sql.Date?

public static java.sql.Date convertJavaDateToSqlDate(java.util.Date javaUtilDate) {
        java.sql.Date sqlDate = new java.sql.Date(javaUtilDate.getTime());
return sqlDate;
}

No comments:

Cucumber Eclipse sample program

Cucumber Eclipse SetupCreate Eclipse Maven Project Open pom.xml Goto Dependencies Add GroupId: info.cukes, Artifact Id: cucumber-java, Versi...