Java SQL Date Create convertJavaDate2SqlDate(java.util.Date date)

Here you can find the source of convertJavaDate2SqlDate(java.util.Date date)

Description

convert Java Date Sql Date

License

Apache License

Declaration

public static java.sql.Date convertJavaDate2SqlDate(java.util.Date date) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {

    public static java.sql.Date convertJavaDate2SqlDate(java.util.Date date) {

        return new java.sql.Date(date.getTime());

    }/*www .j a  va  2  s.c om*/
}

Related

  1. convertDateToString(java.sql.Date argDate)
  2. convertFormat(java.sql.Date dt, String formatter)
  3. convertFormat(String dateData)
  4. convertiFecha(Date utilFecha)
  5. convertirSQLDate2String(java.sql.Date sqlDate)
  6. converToDate(String yyyy, String mm, String dd)
  7. convertSqlDate(java.util.Date date)
  8. convertSqlDate2Calendar(java.sql.Date date)
  9. convertSqlDateToJavaDate(java.sql.Date sqlDate)