Java SQL Time From getDateTime(String dateTime)

Here you can find the source of getDateTime(String dateTime)

Description

get Date Time

License

Apache License

Declaration

public static java.util.Date getDateTime(String dateTime) 

Method Source Code

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

public class Main {
    public static java.util.Date getDateTime(String dateTime) {
        java.util.Date strDate = java.sql.Date.valueOf(dateTime);
        return strDate;
    }/*from  ww  w. j  ava 2  s  .  c  o m*/
}

Related

  1. getDateTime(ResultSet rs, String field, Calendar cal)
  2. getDateTime(String s)
  3. getDatetime(String value)
  4. getDateTimeBySecond(long timeMillis)
  5. getDateTimeFormat()