Java SQL Time From getDateTimeString(java.sql.Date dd)

Here you can find the source of getDateTimeString(java.sql.Date dd)

Description

get Date Time String

License

Apache License

Declaration

public static String getDateTimeString(java.sql.Date dd) 

Method Source Code

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

public class Main {
    public static String getDateTimeString(java.sql.Date dd) {
        if (dd == null) {
            return "";
        }/*from  w  w w .  jav  a2s.c o m*/

        String tds = dd.toString();
        java.sql.Time tt = new java.sql.Time(dd.getTime());
        tds += (" " + tt.toString());

        return tds;
    }
}

Related

  1. getDatetime(String value)
  2. getDateTimeBySecond(long timeMillis)
  3. getDateTimeFormat()
  4. getDateTimeRtnTime(Date date, String time)
  5. getDateTimeStr(Date date)
  6. getDateTimeString(String format)
  7. getDateTimeStringFromCalendar(Calendar calendar)
  8. getDateTimeTypeString(Connection conn)
  9. getDateTimeTypeString(Connection conn)