{{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:

BlockingQueue Applications

Java BlockingQueue is a versatile data structure that can be used in various real-time scenarios where multiple threads need to communicate ...