Java SQL Date Parse parseUtilDateToSqlDate(Date date)

Here you can find the source of parseUtilDateToSqlDate(Date date)

Description

parse Util Date To Sql Date

License

Open Source License

Declaration

public static java.sql.Date parseUtilDateToSqlDate(Date date) 

Method Source Code

//package com.java2s;

import java.util.Date;

public class Main {

    public static java.sql.Date parseUtilDateToSqlDate(Date date) {
        return new java.sql.Date(date.getTime());
    }/*  www.j  av a 2  s. co  m*/
}

Related

  1. parseSqlDate(java.util.Date date)
  2. parseSqlDate(java.util.Date date)
  3. parseSQLDate(String dateStr, String pattern)
  4. parseString2Date(String s, SimpleDateFormat format)
  5. parseUTCDateFromString(String dt)
  6. stringToDate(final String dateString)
  7. stringToDate(String date)
  8. stringToDate(String date, Class dateType)
  9. stringToDate(String dateStr)