Java SQL Date Parse stringToSqlDate(String date)

Here you can find the source of stringToSqlDate(String date)

Description

string To Sql Date

License

Apache License

Declaration

public static Date stringToSqlDate(String date) 

Method Source Code


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

import java.sql.Date;

public class Main {
    public static Date stringToSqlDate(String date) {
        Date sql = java.sql.Date.valueOf(date);
        return sql;
    }//from  w w  w .ja v  a  2s.  c o m
}

Related

  1. stringToDate(String dta)
  2. stringToDate(String str)
  3. stringToDate(String str)
  4. StringToDateHMS(String str)
  5. stringToSqlDate(String data)
  6. stringToSqlDate(String dateVal)
  7. stringToSQLDate(String pstrValue, String pstrDateFormat)
  8. stringToSqlDate(String str)
  9. StrToDate(String Formate, String date)