Java SQL Time getFormatDateTimeDesc(long longDate)

Here you can find the source of getFormatDateTimeDesc(long longDate)

Description

get Format Date Time Desc

License

Apache License

Declaration

public static String getFormatDateTimeDesc(long longDate) 

Method Source Code

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

import java.sql.Timestamp;

public class Main {

    public static String getFormatDateTimeDesc(long longDate) {
        return new Timestamp(longDate).toString().substring(0, 19);
    }/*from   w  w  w.  jav a2  s . com*/
}

Related

  1. getCalTime(Time startTime, Calendar cal)
  2. getClassForSqlType(String sqlType, Class dateTimeClass)
  3. getClosestIDByTime(Connection con, String table, long time)
  4. getDateTimeValue(ResultSet result, String strField, String strDateFormat)
  5. getDBTime(String yyyyMMddHHmmss)
  6. getFullDateTime(ResultSet rs, String column)
  7. getFutureTime(int month)
  8. getGrandfatheredTime()
  9. getIntervalDays(Date time1, Date time2)