Java SQL Date Create converToDate(String yyyy, String mm, String dd)

Here you can find the source of converToDate(String yyyy, String mm, String dd)

Description

conver To Date

License

Open Source License

Declaration

public static Date converToDate(String yyyy, String mm, String dd) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.util.Date;

public class Main {
    public static Date converToDate(String yyyy, String mm, String dd) {
        Date date = java.sql.Date.valueOf(yyyy + "-" + mm + "-" + dd);
        return date;
    }//from  w  ww  .  ja v  a  2  s  .  c  o m
}

Related

  1. convertFormat(java.sql.Date dt, String formatter)
  2. convertFormat(String dateData)
  3. convertiFecha(Date utilFecha)
  4. convertirSQLDate2String(java.sql.Date sqlDate)
  5. convertJavaDate2SqlDate(java.util.Date date)
  6. convertSqlDate(java.util.Date date)
  7. convertSqlDate2Calendar(java.sql.Date date)
  8. convertSqlDateToJavaDate(java.sql.Date sqlDate)
  9. convertSQLDateToUtilDate(java.sql.Date date)