public static java.sql.Date getSqlDate(java.util.Date date) {
        Calendar cal = Calendar.getInstance();
        cal.setTime(date);
        return new java.sql.Date(cal.getTimeInMillis());
    }
public static java . sql . Date getSqlDate ( java . util . Date date ) { Calendar cal = Calendar . getInstance ( ) ; cal . setTime ( date ) ; return new java . sql . Date ( cal . getTimeInMillis ( ) ) ; }
Get SQL Date(java.sql.Date) from java.util.Date

@param date
@return