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

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

Description

convert Sql Date

License

Apache License

Declaration

public static Date convertSqlDate(java.util.Date date) 

Method Source Code

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

import java.sql.Date;

public class Main {

    public static Date convertSqlDate(java.util.Date date) {
        Date result = null;/*from  ww  w. ja  v a 2 s  . co m*/
        result = new Date(date.getTime());
        return result;
    }
}

Related

  1. convertFormat(String dateData)
  2. convertiFecha(Date utilFecha)
  3. convertirSQLDate2String(java.sql.Date sqlDate)
  4. convertJavaDate2SqlDate(java.util.Date date)
  5. converToDate(String yyyy, String mm, String dd)
  6. convertSqlDate2Calendar(java.sql.Date date)
  7. convertSqlDateToJavaDate(java.sql.Date sqlDate)
  8. convertSQLDateToUtilDate(java.sql.Date date)
  9. convertSqlUtil(java.util.Date d)